hostapd restart dhcp only if it is enabled for blue

This commit is contained in:
Arne Fitzenreiter
2008-08-18 15:16:42 +02:00
parent 763c215ff8
commit b67ff08f30

View File

@@ -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
;;