everest-bootscripts/clfs/rc.d/init.d/netplugd
2022-09-13 17:52:14 -04:00

26 lines
308 B
Bash
Executable File

#!/bin/ash
# Netplugd Startup Script
. /etc/rc.d/init.d/functions
case "$1" in
start)
echo -n "Starting netplugd: "
netplugd
check_status
;;
stop)
echo -n "Stopping netplugd: "
killall netplugd
check_status
;;
restart)
$0 stop
$0 start
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac