mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +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
|
# Start
|
||||||
} elsif ($wlanapsettings{'ACTION'} eq "$Lang::tr{'start'}") {
|
} elsif ($cgiparams{'ACTION'} eq "$Lang::tr{'start'}") {
|
||||||
&General::system("/usr/local/bin/wlanapctrl", "start");
|
&General::system("/usr/local/bin/wlanapctrl", "start");
|
||||||
|
|
||||||
# Stop
|
# Stop
|
||||||
} elsif ($wlanapsettings{'ACTION'} eq "$Lang::tr{'stop'}") {
|
} elsif ($cgiparams{'ACTION'} eq "$Lang::tr{'stop'}") {
|
||||||
&General::system("/usr/local/bin/wlanapctrl", "stop");
|
&General::system("/usr/local/bin/wlanapctrl", "stop");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ DL_FROM = $(URL_IPFIRE)
|
|||||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||||
PROG = hostapd
|
PROG = hostapd
|
||||||
PAK_VER = 67
|
PAK_VER = 68
|
||||||
|
|
||||||
DEPS =
|
DEPS =
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user