Tidying
This commit is contained in:
parent
cb43975bd5
commit
e106d3a181
|
@ -264,17 +264,17 @@ function networks_from_file {
|
||||||
function create_networks_interactive {
|
function create_networks_interactive {
|
||||||
if [ -f $WIFI_NETWORKS_FILE ]; then
|
if [ -f $WIFI_NETWORKS_FILE ]; then
|
||||||
rm $WIFI_NETWORKS_FILE
|
rm $WIFI_NETWORKS_FILE
|
||||||
|
|
||||||
echo $'# Add wifi networks as follows:' > $WIFI_NETWORKS_FILE
|
|
||||||
echo '#' >> $WIFI_NETWORKS_FILE
|
|
||||||
echo $'# MySSID' >> $WIFI_NETWORKS_FILE
|
|
||||||
echo $'# wpa2-psk' >> $WIFI_NETWORKS_FILE
|
|
||||||
echo $'# myWifiPassphrase' >> $WIFI_NETWORKS_FILE
|
|
||||||
echo '#' >> $WIFI_NETWORKS_FILE
|
|
||||||
echo $'# AnotherSSID' >> $WIFI_NETWORKS_FILE
|
|
||||||
echo $'# none' >> $WIFI_NETWORKS_FILE
|
|
||||||
echo '#' >> $WIFI_NETWORKS_FILE
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo $'# Add wifi networks as follows:' > $WIFI_NETWORKS_FILE
|
||||||
|
echo '#' >> $WIFI_NETWORKS_FILE
|
||||||
|
echo $'# MySSID' >> $WIFI_NETWORKS_FILE
|
||||||
|
echo $'# wpa2-psk' >> $WIFI_NETWORKS_FILE
|
||||||
|
echo $'# myWifiPassphrase' >> $WIFI_NETWORKS_FILE
|
||||||
|
echo '#' >> $WIFI_NETWORKS_FILE
|
||||||
|
echo $'# AnotherSSID' >> $WIFI_NETWORKS_FILE
|
||||||
|
echo $'# none' >> $WIFI_NETWORKS_FILE
|
||||||
|
echo '#' >> $WIFI_NETWORKS_FILE
|
||||||
|
|
||||||
wifi_ctr=0
|
wifi_ctr=0
|
||||||
wifi_networks_done=
|
wifi_networks_done=
|
||||||
|
|
Loading…
Reference in New Issue