crux-initscripts

hacked CRUX initscripts to work with sinit
git clone git://git.2f30.org/crux-initscripts
Log | Files | Refs | README

sysklogd (288B)


      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 4
     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