diff --git a/arch-install b/arch-install index 9232761..2bc92c7 100755 --- a/arch-install +++ b/arch-install @@ -250,7 +250,7 @@ function usbsecret() { function cron() { echo "cron-job snapshot" mkdir -p ${mountpoint}/var/spool/cron/ - 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 # custom-mounts for wort in ${mountsnaps} diff --git a/snapshot.sh b/snapshot.sh index 31d0ec0..852b91c 100755 --- a/snapshot.sh +++ b/snapshot.sh @@ -9,7 +9,7 @@ if [[ $EUID -ne 0 ]]; then fi echo "Als root Angemeldet" -if [ "make" == "$1" ] || [ "makeboot" == "$1" ]; then +if [ "make" == "$1" ]; then while (( "$(expr $# - 1)" )) do @@ -41,9 +41,6 @@ if [ "make" == "$1" ] || [ "makeboot" == "$1" ]; then if [ "${rootsnapshot}" == "y" ]; then #reset-fstab cp /etc/fstab.example /etc/fstab - fi - - if [ "makeboot" == "y" ]; then #stable-snapshot-boot if [ -f "/boot/arch-uefi.conf.example" ] && [ "${rootsnapshot}" == "y" ]; then