fix typo in hostapd initscript

Message ID a702e7fe-2541-68f0-321b-b399957e2590@ipfire.org
State Accepted
Commit 41fe437400011524c0708bbbf4b59fcc98b017ab
Headers
Series fix typo in hostapd initscript |

Commit Message

Peter Müller Oct. 13, 2019, 11:09 a.m. UTC
  Fixes: #11237

Reported-by: Tom Rymes <tomvend@rymes.com>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
---
 lfs/hostapd                      | 2 +-
 src/initscripts/packages/hostapd | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
  

Comments

Michael Tremer Oct. 13, 2019, 4:13 p.m. UTC | #1
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>

> On 13 Oct 2019, at 12:09, peter.mueller@ipfire.org wrote:
> 
> Fixes: #11237
> 
> Reported-by: Tom Rymes <tomvend@rymes.com>
> Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
> ---
> lfs/hostapd                      | 2 +-
> src/initscripts/packages/hostapd | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/lfs/hostapd b/lfs/hostapd
> index c02c9724c..382482230 100644
> --- a/lfs/hostapd
> +++ b/lfs/hostapd
> @@ -32,7 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
> DIR_APP    = $(DIR_SRC)/$(THISAPP)
> TARGET     = $(DIR_INFO)/$(THISAPP)
> PROG       = hostapd
> -PAK_VER    = 49
> +PAK_VER    = 50
> 
> DEPS       = ""
> 
> diff --git a/src/initscripts/packages/hostapd b/src/initscripts/packages/hostapd
> index 27e79f0a7..5945375f3 100644
> --- a/src/initscripts/packages/hostapd
> +++ b/src/initscripts/packages/hostapd
> @@ -32,7 +32,7 @@ case "${1}" in
> 
> 		# Check if INTERFACE is an actual wireless device
> 		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
> 			exit 0
> 		fi
> -- 
> 2.16.4
  

Patch

diff --git a/lfs/hostapd b/lfs/hostapd
index c02c9724c..382482230 100644
--- a/lfs/hostapd
+++ b/lfs/hostapd
@@ -32,7 +32,7 @@  DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = hostapd
-PAK_VER    = 49
+PAK_VER    = 50
 
 DEPS       = ""
 
diff --git a/src/initscripts/packages/hostapd b/src/initscripts/packages/hostapd
index 27e79f0a7..5945375f3 100644
--- a/src/initscripts/packages/hostapd
+++ b/src/initscripts/packages/hostapd
@@ -32,7 +32,7 @@  case "${1}" in
 
 		# Check if INTERFACE is an actual wireless device
 		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
 			exit 0
 		fi