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 <lorenzo.santina@edu.unito.it>
[increase PKG_RELEASE, drop command substitution from directip.sh]
Signed-off-by: Mathias Kresin <dev@kresin.em>
This commit is contained in:
Lorenzo Santina
2017-09-11 15:27:53 +02:00
committed by Mathias Kresin
parent fb128057da
commit fd84ecda7d
10 changed files with 10 additions and 11 deletions

View File

@@ -92,7 +92,7 @@ detect_mac80211() {
htmode="VHT80"
}
[ -n $htmode ] && ht_capab="set wireless.radio${devidx}.htmode=$htmode"
[ -n "$htmode" ] && ht_capab="set wireless.radio${devidx}.htmode=$htmode"
if [ -x /usr/bin/readlink -a -h /sys/class/ieee80211/${dev} ]; then
path="$(readlink -f /sys/class/ieee80211/${dev}/device)"