diff --git a/clone/clone b/clone/clone index e7caace..b84c93b 100755 --- a/clone/clone +++ b/clone/clone @@ -306,6 +306,10 @@ step8(){ echo " (.) Set up WiFi credentials"; echo -e "network={\n\tssid=\"$WIFI_SSID\"\n\tpsk=\"$WIFI_PASS\"\n}" | sudo tee -a /mnt/etc/wpa_supplicant/wpa_supplicant.conf > /dev/null; + # (3) Add cronjob to try to connect every hour # + echo " (.) Adding connection try daemon"; + echo -e "0 * * * *\troot\t/bin/systemctl start sats-update.service\n" | sudo tee -a /mnt/etc/crontab > /dev/null; + echo "<<< done"; diff --git a/clone/clone.conf b/clone/clone.conf index 5eaf64e..c7de52a 100755 --- a/clone/clone.conf +++ b/clone/clone.conf @@ -25,4 +25,4 @@ export WAREHOUSE_TOKEN="52131065a906de90e26da0732e58400edd6739cfa03fc658e7593abe # FOR TESTING ONLY - IF RUN ON LOCAL # will create an entry in /etc/hosts to user local SMMP -export LOCAL_TEST="192.168.0.15 logauth"; +export LOCAL_TEST="192.168.0.18 logauth";