slitaz-tools diff tinyutils/slitaz-config @ rev 1029
Remove ashism ==
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 26 08:26:53 2019 +0100 (2019-02-26) |
parents | 3be081525506 |
children |
line diff
1.1 --- a/tinyutils/slitaz-config Thu Jun 04 17:11:36 2015 +0300 1.2 +++ b/tinyutils/slitaz-config Tue Feb 26 08:26:53 2019 +0100 1.3 @@ -182,7 +182,7 @@ 1.4 esac 1.5 1.6 # Connect to hidden network 1.7 - if [ "$essid" == "$(_ 'hidden.network')" ]; then 1.8 + if [ "$essid" = "$(_ 'hidden.network')" ]; then 1.9 dialog --title "{ $(_ 'Wi-Fi ESSID') }" \ 1.10 --inputbox "\n$(_ 'Enter Wi-Fi access point ESSID (name)')" \ 1.11 12 $width 2>$tmp 1.12 @@ -199,7 +199,7 @@ 1.13 key=$(iwlist $WIFI_INTERFACE scan last | grep -E 'Cell |Encryption|ESSID' | \ 1.14 grep -C1 "$essid" | sed -n 's|.*key:\(.*\)|\1|p') 1.15 1.16 - if [ "$key" == "on" ]; then 1.17 + if [ "$key" = "on" ]; then 1.18 dialog --title "{ $(_ 'Wi-Fi Password') }" --colors \ 1.19 --inputbox "\n$(_ 'Enter Wi-Fi key (password) for \Zb\Z4%s' "$essid")" \ 1.20 12 $width 2>$tmp