diff --git a/clone/clone b/clone/clone index 11b3fd7..cf57446 100755 --- a/clone/clone +++ b/clone/clone @@ -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;