mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 03:33:25 +02:00
fix typo in hostapd initscript
Fixes: #11237 Reported-by: Tom Rymes <tomvend@rymes.com> Signed-off-by: Peter Müller <peter.mueller@ipfire.org> Reviewed-by: Michael Tremer <michael.tremer@ipfire.org> Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
committed by
Arne Fitzenreiter
parent
04a42c81f5
commit
41fe437400
@@ -32,7 +32,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 = 49
|
PAK_VER = 50
|
||||||
|
|
||||||
DEPS = ""
|
DEPS = ""
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ case "${1}" in
|
|||||||
|
|
||||||
# Check if INTERFACE is an actual wireless device
|
# Check if INTERFACE is an actual wireless device
|
||||||
if [ ! -d "/sys/class/net/${INTERFACE}/wireless" ]; then
|
if [ ! -d "/sys/class/net/${INTERFACE}/wireless" ]; then
|
||||||
boot_mesg "Interface $INTERFACE is no wireless device." ${FAILURE}
|
boot_mesg "Interface $INTERFACE is not a wireless device." ${FAILURE}
|
||||||
echo_failure
|
echo_failure
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user