mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 03:07:43 +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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user