mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-17 06:23:00 +02:00
hostapd restart dhcp only if it is enabled for blue
This commit is contained in:
@@ -35,7 +35,9 @@ case "${1}" in
|
||||
# Bring blue up (but not at boot)
|
||||
if [ "$(basename $0)" == "hostapd" ]; then
|
||||
/etc/rc.d/init.d/networking/blue start
|
||||
/etc/rc.d/init.d/dhcp restart
|
||||
if [ -f /var/ipfire/dhcp/enable_blue ]; then
|
||||
/etc/rc.d/init.d/dhcp restart
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user