Added wifi configuration

This commit is contained in:
xdrm-brackets 2017-01-21 17:44:12 +01:00
parent 8df47e4667
commit 86499bbb38
1 changed files with 11 additions and 0 deletions

View File

@ -253,6 +253,15 @@ step8(){
# [9] Manage Network config
#========================================================#
step9(){
echo "\n>>> [9] Set up WiFi configuration";
echo "network={\n\tssid=\"freeboxma\"\n\tpsk=\" manon adrien \"\n}" | sudo tee -a /mnt/etc/wpa_supplicant/wpa_supplicant.conf > /dev/null;
echo "<<< done";
step10;
}
@ -267,6 +276,7 @@ echo "(5) Update users";
echo "(6) Update groups";
echo "(7) Manage ssh keys";
echo "(8) Set up automatic sats-user login";
echo "(9) Set up WiFi config";
read -p "step: " step;
case $step in
@ -278,5 +288,6 @@ case $step in
"6") step6;;
"7") step7;;
"8") step8;;
"9") step9;;
*) echo "wrong step"; exit;;
esac;