clfs-bootstrap

clfs-bootstrap.git
git clone git://git.lenczewski.org/clfs-bootstrap.git
Log | Files | Refs | README | LICENSE

netplugd (308B)


      1 #!/bin/ash
      2 
      3 # Netplugd Startup Script
      4 
      5 . /etc/rc.d/init.d/common.sh
      6 
      7 case "$1" in
      8 start)
      9 	echo -n "Starting netplugd: "
     10 	netplugd
     11 	check_status
     12 	;;
     13 stop)
     14 	echo -n "Stopping netplugd: "
     15 	killall netplugd
     16 	check_status
     17 	;;
     18 restart)
     19 	$0 stop
     20 	$0 start
     21 	;;
     22 *)
     23 	echo "Usage: $0 {start|stop|restart}"
     24 	exit 1
     25 esac