1 #!/bin/sh /etc/rc.common
4 PID_F
="/var/run/ahcpd.pid"
5 EXTRA_COMMANDS
="status"
6 EXTRA_HELP
=" status Print ahcpd's status to the log file."
15 config_foreach ahcp_config ahcpd
16 config_foreach ahcp_server ahcpd
17 [ -z "$interfaces" ] && return 0
18 eval "/usr/sbin/ahcpd -D -I $PID_F $args $interfaces"
22 [ -f "$PID_F" ] && kill $
(cat "$PID_F")
26 [ -f $PID_F ] && kill -USR1 $
(cat $PID_F)