summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/sysklogd/files
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/sysklogd/files')
-rwxr-xr-xmeta/recipes-extended/sysklogd/files/sysklogd13
1 files changed, 12 insertions, 1 deletions
diff --git a/meta/recipes-extended/sysklogd/files/sysklogd b/meta/recipes-extended/sysklogd/files/sysklogd
index dcbc81e5a5..258f882803 100755
--- a/meta/recipes-extended/sysklogd/files/sysklogd
+++ b/meta/recipes-extended/sysklogd/files/sysklogd
@@ -12,6 +12,9 @@
12# Short-Description: System logger 12# Short-Description: System logger
13### END INIT INFO 13### END INIT INFO
14 14
15# Source function library.
16. /etc/init.d/functions
17
15PATH=/bin:/usr/bin:/sbin:/usr/sbin 18PATH=/bin:/usr/bin:/sbin:/usr/sbin
16 19
17pidfile_syslogd=/var/run/syslogd.pid 20pidfile_syslogd=/var/run/syslogd.pid
@@ -132,8 +135,16 @@ case "$1" in
132 $0 start 135 $0 start
133 fi 136 fi
134 ;; 137 ;;
138 status)
139 status syslogd
140 RETVAL=$?
141 status klogd
142 rval=$?
143 [ $RETVAL -eq 0 ] && exit $rval
144 exit $RETVAL
145 ;;
135 *) 146 *)
136 log_success_msg "Usage: /etc/init.d/sysklogd {start|stop|reload|restart|force-reload|reload-or-restart}" 147 log_success_msg "Usage: /etc/init.d/sysklogd {start|stop|reload|restart|force-reload|reload-or-restart|status}"
137 exit 1 148 exit 1
138esac 149esac
139 150