mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-22 08:52:58 +02:00
Made squid 2.7 stable4 for core 17
Added to update and 2.3 Added green/blue capabilities to hostapd
This commit is contained in:
@@ -34,12 +34,18 @@ case "${1}" in
|
||||
|
||||
# Bring blue up (but not at boot)
|
||||
if [ "$(basename $0)" == "hostapd" ]; then
|
||||
/etc/rc.d/init.d/networking/blue start
|
||||
if [ -f /var/ipfire/dhcp/enable_blue ]; then
|
||||
/etc/rc.d/init.d/dhcp restart
|
||||
fi
|
||||
|
||||
if [ "$(INTERFACE)" == "blue0" ]; then
|
||||
/etc/rc.d/init.d/networking/blue start
|
||||
elif [ "$(INTERFACE)" == "green0" ]; then
|
||||
/etc/rc.d/init.d/networking/green start
|
||||
fi
|
||||
|
||||
if [ -f /var/ipfire/dhcp/enable_blue || -f -f /var/ipfire/dhcp/enable_green ]; then
|
||||
/etc/rc.d/init.d/dhcp restart
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
;;
|
||||
|
||||
stop)
|
||||
boot_mesg "Stopping hostapd..."
|
||||
|
||||
Reference in New Issue
Block a user