Double quites

This commit is contained in:
Bob Mottram 2016-04-21 16:34:23 +01:00
parent 88c97978d9
commit 62fb59d8b4
1 changed files with 2 additions and 2 deletions

View File

@ -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
}