mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-17 14:33:00 +02:00
Fix updater (now real core18)
fix missing newline at core17 filelist hostapd initscript now works also with eg. blue2
This commit is contained in:
@@ -35,11 +35,7 @@ case "${1}" in
|
||||
# Bring blue up (but not at boot)
|
||||
if [ "$(basename $0)" == "hostapd" ]; then
|
||||
|
||||
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
|
||||
/etc/rc.d/init.d/networking/${INTERFACE//[0-9]/} start
|
||||
|
||||
if [ -f /var/ipfire/dhcp/enable_blue || -f /var/ipfire/dhcp/enable_green ]; then
|
||||
/etc/rc.d/init.d/dhcp restart
|
||||
|
||||
Reference in New Issue
Block a user