diff --git a/package/base/fam/fam.conf b/package/base/fam/fam.conf index 0399f07a6..f703bf383 100644 --- a/package/base/fam/fam.conf +++ b/package/base/fam/fam.conf @@ -1 +1 @@ -hook_add postmake 3 "install_init famd $confdir/famd.init" +hook_add postmake 3 "install_init famdaemon $confdir/famd.init" diff --git a/package/base/smartmontools/smartd.init b/package/base/smartmontools/smartd.init index 1ee33e71a..8cbe18866 100644 --- a/package/base/smartmontools/smartd.init +++ b/package/base/smartmontools/smartd.init @@ -32,12 +32,12 @@ main_begin check(`D_prefix/sbin/smartd') block_end - block_begin(stop, `Stopping courier-imapd.') - check(`kill -SIGKILL smartd') + block_begin(stop, `Stopping smartd.') + check(`killall -SIGKILL smartd') block_end - block_begin(restart, `Restarting courier-imapd.') - check(`sigkill -SIGKILL smartd') + block_begin(restart, `Restarting smartd.') + check(`killall -SIGKILL smartd') check(`D_prefix/sbin/smartd') block_end