7 Aug
2012
7 Aug
'12
8:11 p.m.
Text passphrases may contain spaces and should be quoted in the netcfg profile --- scripts/wifi-menu | 2 +- 1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-) diff --git a/scripts/wifi-menu b/scripts/wifi-menu index 10353f8..4b1db24 100755 --- a/scripts/wifi-menu +++ b/scripts/wifi-menu @@ -117,7 +117,7 @@ create_profile() key=$(wpa_passphrase "$1" "$key" | grep -m 1 "^[[:space:]]*psk=") key="KEY=${key#*psk=}" else - key="KEY=$(printf "%q" "$key")" + key="KEY='$(printf "%q" "$key")'" fi fi cat << EOF > "$PROFILE_DIR/$PROFILE" -- 1.7.11.4