Fix wifi setup
This commit is contained in:
parent
e7c43aee91
commit
5f46dd67bd
BIN
clone/.clone.swp
BIN
clone/.clone.swp
Binary file not shown.
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
echo ">>> Loading configuration file"
|
echo ">>> Loading configuration file";
|
||||||
source clone.conf || $(echo "<<< error"; exit);
|
source clone.conf;
|
||||||
echo "<<< done";
|
echo "<<< done";
|
||||||
|
|
||||||
|
|
||||||
|
@ -270,7 +270,7 @@ step8(){
|
||||||
|
|
||||||
# (1) Create link in order to be handled #
|
# (1) Create link in order to be handled #
|
||||||
echo " (.) Emulate \`systemctl set-default multi-user.target\`";
|
echo " (.) Emulate \`systemctl set-default multi-user.target\`";
|
||||||
#sudo ln -fs /lib/systemd/system/multi-user.target /mnt/etc/systemd/system/default.target;
|
sudo ln -fs /lib/systemd/system/multi-user.target /mnt/etc/systemd/system/default.target;
|
||||||
|
|
||||||
# (2) Link autologin to tty service #
|
# (2) Link autologin to tty service #
|
||||||
echo " (.) Link autologin script to tty's default";
|
echo " (.) Link autologin script to tty's default";
|
||||||
|
@ -295,7 +295,7 @@ step8(){
|
||||||
step9(){
|
step9(){
|
||||||
echo "\n>>> [9] Set up WiFi configuration";
|
echo "\n>>> [9] Set up WiFi configuration";
|
||||||
|
|
||||||
echo "network={\n\tssid=\"$WIFI_SSID"\n\tpsk=\"$WIFI_PASS"\n}" | sudo tee -a /mnt/etc/wpa_supplicant/wpa_supplicant.conf > /dev/null;
|
echo "network={\n\tssid=\"$WIFI_SSID\"\n\tpsk=\"$WIFI_PASS\"\n}" | sudo tee -a /mnt/etc/wpa_supplicant/wpa_supplicant.conf > /dev/null;
|
||||||
|
|
||||||
echo "<<< done";
|
echo "<<< done";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue