grub-bootloader-fix

This commit is contained in:
simono41 2018-07-17 19:35:31 +02:00
parent 6989a2b69f
commit 812070a7f8

View file

@ -203,7 +203,7 @@ function usbsecret() {
function cron() {
echo "cron-job snapshot"
mkdir -p ${mountpoint}/var/spool/cron/
if [ "y" == "${windualboot}" ]; then
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