hostapd: fix start/stop buttons

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Arne Fitzenreiter
2024-11-06 11:49:11 +01:00
parent 3cf9dba6b4
commit afd54bb41a
2 changed files with 3 additions and 3 deletions

View File

@@ -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");
}

View File

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