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
|
||||
|
||||
echo ">>> Loading configuration file"
|
||||
source clone.conf || $(echo "<<< error"; exit);
|
||||
echo ">>> Loading configuration file";
|
||||
source clone.conf;
|
||||
echo "<<< done";
|
||||
|
||||
|
||||
|
@ -270,7 +270,7 @@ step8(){
|
|||
|
||||
# (1) Create link in order to be handled #
|
||||
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 #
|
||||
echo " (.) Link autologin script to tty's default";
|
||||
|
@ -295,7 +295,7 @@ step8(){
|
|||
step9(){
|
||||
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";
|
||||
|
||||
|
|
Loading…
Reference in New Issue