CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
e2fsprogs: updated to 1.42.13 and updated mandir
[crossrootfs.git] / sysklogd / sysklogd
CommitLineData
6dca1d21
JB
1#!/bin/sh
2#
3# /etc/rc.d/sysklogd: start/stop sysklogd logging daemons
4#
5
6case $1 in
7start)
8 /usr/sbin/syslogd
9 /usr/sbin/klogd -c 3
10 ;;
11stop)
12 /usr/bin/killall syslogd
13 /usr/bin/killall klogd
14 ;;
15restart)
16 $0 stop
17 sleep 2
18 $0 start
19 ;;
20*)
21 echo "usage: $0 [start|stop|restart]"
22 ;;
23esac