mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
hostapd: fix start/stop buttons
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -107,11 +107,11 @@ if ($cgiparams{'ACTION'} eq "$Lang::tr{'save'}") {
|
||||
}
|
||||
|
||||
# Start
|
||||
} elsif ($wlanapsettings{'ACTION'} eq "$Lang::tr{'start'}") {
|
||||
} elsif ($cgiparams{'ACTION'} eq "$Lang::tr{'start'}") {
|
||||
&General::system("/usr/local/bin/wlanapctrl", "start");
|
||||
|
||||
# Stop
|
||||
} elsif ($wlanapsettings{'ACTION'} eq "$Lang::tr{'stop'}") {
|
||||
} elsif ($cgiparams{'ACTION'} eq "$Lang::tr{'stop'}") {
|
||||
&General::system("/usr/local/bin/wlanapctrl", "stop");
|
||||
}
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
PROG = hostapd
|
||||
PAK_VER = 67
|
||||
PAK_VER = 68
|
||||
|
||||
DEPS =
|
||||
|
||||
|
||||
Reference in New Issue
Block a user