Fix updater (now real core18)

fix missing newline at core17 filelist
hostapd initscript now works also with eg. blue2
This commit is contained in:
Arne Fitzenreiter
2008-08-20 05:57:32 +02:00
parent 9ffc06e050
commit 9fce0ca5c5
6 changed files with 8 additions and 12 deletions

View File

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