This commit is contained in:
simono41 2018-08-21 22:24:14 +02:00
parent b73733ac79
commit 2100d83534

View file

@ -250,11 +250,7 @@ function usbsecret() {
function cron() {
echo "cron-job snapshot"
mkdir -p ${mountpoint}/var/spool/cron/
if [ "y" == "${windualboot}" ] || [ "${boot}" == "grub" ]; then
echo -n "0 18 * * * /usr/bin/snapshot make ROOT home opt var/cache/pacman/pkg " > ${mountpoint}/var/spool/cron/root
else
echo -n "0 18 * * * /usr/bin/snapshot makeboot ROOT home opt var/cache/pacman/pkg " > ${mountpoint}/var/spool/cron/root
fi
# custom-mounts
for wort in ${mountsnaps}