Double quites
This commit is contained in:
parent
88c97978d9
commit
62fb59d8b4
|
@ -141,7 +141,7 @@ function wifi_wpa2_psk {
|
|||
passphrase=$2
|
||||
psk=$(wifi_get_psk "$ssid" "$passphrase")
|
||||
echo "auto $WIFI_INTERFACE" > /etc/network/interfaces.d/wifi
|
||||
echo 'iface $WIFI_INTERFACE inet dhcp' >> /etc/network/interfaces.d/wifi
|
||||
echo "iface $WIFI_INTERFACE inet dhcp" >> /etc/network/interfaces.d/wifi
|
||||
echo " wpa-ssid $ssid" >> /etc/network/interfaces.d/wifi
|
||||
echo " wpa-psk $psk" >> /etc/network/interfaces.d/wifi
|
||||
}
|
||||
|
@ -149,7 +149,7 @@ function wifi_wpa2_psk {
|
|||
function wifi_none {
|
||||
ssid=$1
|
||||
echo "auto $WIFI_INTERFACE" > /etc/network/interfaces.d/wifi
|
||||
echo 'iface $WIFI_INTERFACE inet dhcp' >> /etc/network/interfaces.d/wifi
|
||||
echo "iface $WIFI_INTERFACE inet dhcp" >> /etc/network/interfaces.d/wifi
|
||||
echo " wireless-essid $ssid" >> /etc/network/interfaces.d/wifi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue