Added wifi configuration
This commit is contained in:
parent
8df47e4667
commit
86499bbb38
11
clone/clone
11
clone/clone
|
@ -253,6 +253,15 @@ step8(){
|
||||||
|
|
||||||
# [9] Manage Network config
|
# [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 "(6) Update groups";
|
||||||
echo "(7) Manage ssh keys";
|
echo "(7) Manage ssh keys";
|
||||||
echo "(8) Set up automatic sats-user login";
|
echo "(8) Set up automatic sats-user login";
|
||||||
|
echo "(9) Set up WiFi config";
|
||||||
read -p "step: " step;
|
read -p "step: " step;
|
||||||
|
|
||||||
case $step in
|
case $step in
|
||||||
|
@ -278,5 +288,6 @@ case $step in
|
||||||
"6") step6;;
|
"6") step6;;
|
||||||
"7") step7;;
|
"7") step7;;
|
||||||
"8") step8;;
|
"8") step8;;
|
||||||
|
"9") step9;;
|
||||||
*) echo "wrong step"; exit;;
|
*) echo "wrong step"; exit;;
|
||||||
esac;
|
esac;
|
||||||
|
|
Loading…
Reference in New Issue