From fd84ecda7d3bfebb4237110b8efe2ab2713ea8e1 Mon Sep 17 00:00:00 2001 From: Lorenzo Santina Date: Mon, 11 Sep 2017 15:27:53 +0200 Subject: treewide: fix shellscript syntax errors/typos Fix multiple syntax errors in shelscripts (of packages only) These errors were causing many conditions to not working properly Signed-off-by: Lorenzo Santina [increase PKG_RELEASE, drop command substitution from directip.sh] Signed-off-by: Mathias Kresin --- package/network/services/hostapd/Makefile | 2 +- package/network/services/hostapd/files/hostapd.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'package/network/services/hostapd') diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile index 8a1f083..0e729a8 100644 --- a/package/network/services/hostapd/Makefile +++ b/package/network/services/hostapd/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=hostapd -PKG_RELEASE:=4 +PKG_RELEASE:=5 PKG_SOURCE_URL:=http://w1.fi/hostap.git PKG_SOURCE_PROTO:=git diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh index e1ec799..73ad6d6 100644 --- a/package/network/services/hostapd/files/hostapd.sh +++ b/package/network/services/hostapd/files/hostapd.sh @@ -627,7 +627,7 @@ wpa_supplicant_add_network() { scan_ssid="" } - [[ "$_w_mode" = "adhoc" -o "$_w_mode" = "mesh" ]] && append network_data "$_w_modestr" "$N$T" + [ "$_w_mode" = "adhoc" -o "$_w_mode" = "mesh" ] && append network_data "$_w_modestr" "$N$T" case "$auth_type" in none) ;; -- cgit v1.1