Commit d1151767 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Also listen on DHCPD_EXTRAIFS if set.

parent 03c1a74e
......@@ -4,6 +4,7 @@
#
elabinelab="@ELABINELAB@"
configfile="/usr/local/etc/dhcpd.conf"
extraifs="@DHCPD_EXTRAIFS@"
case "$1" in
start)
# limit to control network
......@@ -14,7 +15,7 @@ case "$1" in
if [ -x @prefix@/sbin/daemon_wrapper ]; then
echo -n " dhcpd wrapper"
@prefix@/sbin/daemon_wrapper \
/usr/local/sbin/dhcpd -f $cnetif -cf $configfile
/usr/local/sbin/dhcpd -f $cnetif $extraifs -cf $configfile
fi
;;
stop)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment