From ec45bd6dd9dafca672382103709b759b6fb28582 Mon Sep 17 00:00:00 2001 From: DJ Lucas Date: Wed, 28 Apr 2010 03:46:23 +0000 Subject: 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 --- bootscripts/contrib/lsb-v3/init.d/sysklogd | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) (limited to 'bootscripts/contrib/lsb-v3/init.d/sysklogd') 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 ;; *) -- cgit v1.2.3-54-g00ecf