My configuration and packages for Slackware
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
289 B

#!/bin/sh
#
# /etc/rc.d/rc.dhcpcd
#
# Start/stop the DHCP daemon.
#
# This script doesn't do anything other than starting dhcpcp for all interfaces. For more functionality see rc.inet1.
case "$1" in
'start')
dhcpcd -b
;;
'stop')
dhcpcd -k
;;
*)
echo "Usage: $0 start|stop"
esac