|
|
|
|
@ -520,6 +520,15 @@ echo " exit 1">> /mnt/setup-chroot.sh
|
|
|
|
|
echo "fi">> /mnt/setup-chroot.sh
|
|
|
|
|
echo "echo \"Done.\"" >> /mnt/setup-chroot.sh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo "systemctl enable cron" >> /mnt/setup-chroot.sh
|
|
|
|
|
#crontab -l > mycron
|
|
|
|
|
#echo new cron into cron file
|
|
|
|
|
#echo "00 09 * * 1-5 echo hello" >> mycron
|
|
|
|
|
#install new cron file
|
|
|
|
|
#crontab mycron
|
|
|
|
|
#rm mycron
|
|
|
|
|
|
|
|
|
|
# add the firewall rule for SSH, but there may already be an exception for this, test the network in the live environment
|
|
|
|
|
|
|
|
|
|
echo ""
|
|
|
|
|
|