fix
This commit is contained in:
parent
b73733ac79
commit
2100d83534
1 changed files with 1 additions and 5 deletions
|
@ -250,11 +250,7 @@ function usbsecret() {
|
||||||
function cron() {
|
function cron() {
|
||||||
echo "cron-job snapshot"
|
echo "cron-job snapshot"
|
||||||
mkdir -p ${mountpoint}/var/spool/cron/
|
mkdir -p ${mountpoint}/var/spool/cron/
|
||||||
if [ "y" == "${windualboot}" ] || [ "${boot}" == "grub" ]; then
|
echo -n "0 18 * * * /usr/bin/snapshot makeboot ROOT home opt var/cache/pacman/pkg " > ${mountpoint}/var/spool/cron/root
|
||||||
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
|
# custom-mounts
|
||||||
for wort in ${mountsnaps}
|
for wort in ${mountsnaps}
|
||||||
|
|
Loading…
Reference in a new issue