slitaz-vz rev 6 tip
Remove ashism ==
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 26 08:27:32 2019 +0100 (2019-02-26) |
parents | 7ce131de8af6 |
children | |
files | base-scripts/network.sh |
line diff
1.1 --- a/base-scripts/network.sh Mon Mar 26 21:42:12 2012 +0100 1.2 +++ b/base-scripts/network.sh Tue Feb 26 08:27:32 2019 +0100 1.3 @@ -60,7 +60,7 @@ 1.4 [ -n "$WIFI_MODE" ] && IWCONFIG_ARGS="$IWCONFIG_ARGS mode $WIFI_MODE" 1.5 [ -n "$WIFI_CHANNEL" ] && IWCONFIG_ARGS="$IWCONFIG_ARGS channel $WIFI_CHANNEL" 1.6 # unencrypted network 1.7 - if [ "$WIFI_KEY" == "" -o "$WIFI_KEY_TYPE" == "none" ]; 1.8 + if [ "$WIFI_KEY" = "" -o "$WIFI_KEY_TYPE" = "none" ]; 1.9 then 1.10 iwconfig $WIFI_INTERFACE essid "$WIFI_ESSID" $IWCONFIG_ARGS 1.11 fi