diff options
author | DJ Lucas <dj@linuxfromscratch.org> | 2010-04-28 03:46:23 +0000 |
---|---|---|
committer | DJ Lucas <dj@linuxfromscratch.org> | 2010-04-28 03:46:23 +0000 |
commit | ec45bd6dd9dafca672382103709b759b6fb28582 (patch) | |
tree | 5e1d2b4f4e3baa79cace7b9b5776c2324478c23c /bootscripts/contrib/lsb-v3/init.d/sysklogd | |
parent | 01923b23acebc71f0e94e3b5ed3fced40a79bf03 (diff) |
fixed paths and removed unneeded X-LFS-Default lines.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9259 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'bootscripts/contrib/lsb-v3/init.d/sysklogd')
-rw-r--r-- | bootscripts/contrib/lsb-v3/init.d/sysklogd | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/bootscripts/contrib/lsb-v3/init.d/sysklogd b/bootscripts/contrib/lsb-v3/init.d/sysklogd index ac73c76ce..dc8829f07 100644 --- a/bootscripts/contrib/lsb-v3/init.d/sysklogd +++ b/bootscripts/contrib/lsb-v3/init.d/sysklogd @@ -12,8 +12,6 @@ # Short-Description: Starts kernel and system log daemons. # Description: Starts kernel and system log daemons. # /etc/fstab. -# X-LFS-Default-Start: S10 -# X-LFS-Default-Stop: K90 # X-LFS-Provided-By: LFS ### END INIT INFO @@ -22,44 +20,44 @@ case "${1}" in start) MESSAGE="system log daemon..." - start_daemon /usr/sbin/syslogd -m 0 + start_daemon /sbin/syslogd -m 0 evaluate_retval start MESSAGE="kernel log daemon..." - start_daemon /usr/sbin/klogd + start_daemon /sbin/klogd evaluate_retval start ;; stop) MESSAGE="kernel log daemon..." - killproc /usr/sbin/klogd + killproc /sbin/klogd evaluate_retval stop MESSAGE="system log daemon..." - killproc /usr/sbin/syslogd + killproc /sbin/syslogd evaluate_retval stop ;; force-reload) MESSAGE="system log daemon config file..." - killproc -HUP `/usr/sbin/syslogd` + killproc -HUP `/sbin/syslogd` evaluate_retval reload ;; restart) MESSAGE="system and kernel log deamons..." failed=0 - killproc /usr/sbin/klogd || failed=1 - killproc /usr/sbin/syslogd || failed=1 - start_daemon /usr/sbin/syslogd -m 0 || failed=1 - start_daemon /usr/sbin/klogd || failed=1 + killproc /sbin/klogd || failed=1 + killproc /sbin/syslogd || failed=1 + start_daemon /sbin/syslogd -m 0 || failed=1 + start_daemon /sbin/klogd || failed=1 (exit ${failed}) evaluate_retval restart ;; status) - statusproc /usr/sbin/syslogd - statusproc /usr/sbin/klogd + statusproc /sbin/syslogd + statusproc /sbin/klogd ;; *) |