CRUX-ARM : Home

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