diff --git a/clone/.clone.swp b/clone/.clone.swp deleted file mode 100644 index d0398cc..0000000 Binary files a/clone/.clone.swp and /dev/null differ diff --git a/clone/clone b/clone/clone index 5b596ce..fef09de 100755 --- a/clone/clone +++ b/clone/clone @@ -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"; diff --git a/clone/clone.conf b/clone/clone.conf old mode 100644 new mode 100755