Author: dteske
Date: Tue Dec 13 02:15:36 2016
New Revision: 309981
URL: https://svnweb.freebsd.org/changeset/base/309981

Log:
  Add missing quotes

Modified:
  head/usr.sbin/bsdinstall/scripts/wlanconfig

Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/wlanconfig Tue Dec 13 02:14:40 2016        
(r309980)
+++ head/usr.sbin/bsdinstall/scripts/wlanconfig Tue Dec 13 02:15:36 2016        
(r309981)
@@ -280,7 +280,7 @@ done
 [ "$ENCRYPTION" ] || ENCRYPTION=$( echo "$NETWORKS" |
        awk -F '\t' "/^\"$NETWORK\"\t/ { print \$2 }" )
 
-if echo $ENCRYPTION | grep -q 'PSK'; then
+if echo "$ENCRYPTION" | grep -q 'PSK'; then
        PASS=$( $DIALOG \
                --title "WPA Setup"              \
                --backtitle "$DIALOG_BACKTITLE"  \
@@ -300,7 +300,7 @@ if echo $ENCRYPTION | grep -q 'PSK'; the
                priority=5
        }
        EOF
-elif echo $ENCRYPTION | grep -q EAP; then
+elif echo "$ENCRYPTION" | grep -q EAP; then
        USERPASS=$( $DIALOG \
                --title "WPA-Enterprise Setup"   \
                --backtitle "$DIALOG_BACKTITLE"  \
@@ -325,7 +325,7 @@ elif echo $ENCRYPTION | grep -q EAP; the
                priority=5
        }
        EOF
-elif echo $ENCRYPTION | grep -q WEP; then
+elif echo "$ENCRYPTION" | grep -q WEP; then
        WEPKEY=$( $DIALOG \
                --title "WEP Setup"              \
                --backtitle "$DIALOG_BACKTITLE"  \
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to