From a75322cc22e7b3dfba81668ff4d5afdd0a07e03c Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 1 Sep 2024 22:27:53 +0000 Subject: [PATCH] s --- gentoo.sh | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/gentoo.sh b/gentoo.sh index 89a2399..6d119b2 100644 --- a/gentoo.sh +++ b/gentoo.sh @@ -139,35 +139,6 @@ osSnapshots() { chown $USER:$USER $1/$2.tgz } -osRestore() { - partitions - rm -rf $TARGET/usr $TARGET/sbin $TARGET/lib32 $TARGET/libx32 $TARGET/lib $TARGET/vmlinuz* $TARGET/initrd* $TARGET/bin $TARGET/var $TARGET/root $TARGET/opt $TARGET/etc $TARGET/run - clear - echo "[Restoring OS tarfile from $4/$2.tgz]" - echo - tar xfp $4/$2.tgz -C $TARGET/ - - if [ "$3" = "home" ]; then - echo "[Restoring /home]" - echo - rsync -a --delete /home/ $TARGET/home/ - fi - - fstab - cp -f gentoo.sh $TARGET/ - systemMounts - chmod +x $TARGET/gentoo.sh - chroot $TARGET /gentoo.sh bootloader - chroot $TARGET /gentoo.sh btrfsTweaks - chroot $TARGET /gentoo.sh accounts - chroot $TARGET /gentoo.sh hibernate - - chown -R $USER:$USER $TARGET/home/$USER - auto_login - rm -f $TARGET/gentoo.sh - #unmount -} - systemMounts() { echo echo "[Checking for BTRFS Partition]"