Back to manual
This commit is contained in:
parent
9f8604c835
commit
1acbd6d2fa
|
@ -297,7 +297,7 @@ function wifi_wpa2_psk {
|
|||
echo 'iface eth0 inet dhcp' >> /etc/network/interfaces
|
||||
echo '' >> /etc/network/interfaces
|
||||
echo "allow-hotplug ${WIFI_INTERFACE}" >> /etc/network/interfaces
|
||||
echo "iface ${WIFI_INTERFACE} inet dhcp" >> /etc/network/interfaces
|
||||
echo "iface ${WIFI_INTERFACE} inet manual" >> /etc/network/interfaces
|
||||
echo " wpa-roam $WIFI_CONFIG" >> /etc/network/interfaces
|
||||
|
||||
wpa_passphrase "$ssid" "$passphrase" > $WIFI_CONFIG
|
||||
|
@ -323,7 +323,7 @@ function wifi_none {
|
|||
echo 'iface eth0 inet dhcp' >> /etc/network/interfaces
|
||||
echo '' >> /etc/network/interfaces
|
||||
echo "allow-hotplug ${WIFI_INTERFACE}" >> /etc/network/interfaces
|
||||
echo "iface ${WIFI_INTERFACE} inet dhcp" >> /etc/network/interfaces
|
||||
echo "iface ${WIFI_INTERFACE} inet manual" >> /etc/network/interfaces
|
||||
echo " wpa-roam $WIFI_CONFIG" >> /etc/network/interfaces
|
||||
|
||||
echo 'network={' > $WIFI_CONFIG
|
||||
|
@ -359,7 +359,7 @@ function networks_from_file {
|
|||
echo 'iface eth0 inet dhcp' >> /etc/network/interfaces
|
||||
echo '' >> /etc/network/interfaces
|
||||
echo "allow-hotplug ${WIFI_INTERFACE}" >> /etc/network/interfaces
|
||||
echo "iface ${WIFI_INTERFACE} inet dhcp" >> /etc/network/interfaces
|
||||
echo "iface ${WIFI_INTERFACE} inet manual" >> /etc/network/interfaces
|
||||
echo " wpa-roam $WIFI_CONFIG" >> /etc/network/interfaces
|
||||
|
||||
# remove wpa_supplicant.conf if it exists
|
||||
|
|
Loading…
Reference in New Issue