s
This commit is contained in:
parent
a75322cc22
commit
ff5d103dd8
15
gentoo.sh
15
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
|
||||
|
Loading…
Reference in New Issue
Block a user