diff --git a/gentoo.sh b/gentoo.sh index 6d119b2..f8a9a35 100644 --- a/gentoo.sh +++ b/gentoo.sh @@ -126,19 +126,6 @@ autoLogin() { echo "ExecStart=-/sbin/agetty --autologin $USER --noclear %I /usr/bin/bash" >>$GETTY } -osSnapshots() { - echo - mkdir $2 - echo "[Creating new OS snapshot to $1/$2.tgz]" - echo - echo - NEW_TAR_EXCLUDES="$TAR_EXCLUDES --exclude=$TARGET/* " - echo - rm -f $1/$2.tgz - time tar cpzvf $1/$2.tgz $NEW_TAR_EXCLUDES / - chown $USER:$USER $1/$2.tgz -} - systemMounts() { echo echo "[Checking for BTRFS Partition]" @@ -911,8 +898,6 @@ fixBase() { if [ "$1" = "desktop" ]; then desktop -elif [ "$1" = "tar" ]; then - osSnapshots "$3" "$2" elif [ "$1" = "upgrade-system" ]; then upgrade-system elif [ "$1" = "fstab" ]; then