s
This commit is contained in:
parent
71b9acb50b
commit
5bb20f0703
@ -458,15 +458,13 @@ show-help() {
|
|||||||
echo "./gentoo-kde.sh bootloader [disk] [ROOT_NAME] [ROOT_MAPPER_NAME]"
|
echo "./gentoo-kde.sh bootloader [disk] [ROOT_NAME] [ROOT_MAPPER_NAME]"
|
||||||
echo "./gentoo-kde.sh initialize"
|
echo "./gentoo-kde.sh initialize"
|
||||||
echo "./gentoo-kde.sh tar [device name] [location]"
|
echo "./gentoo-kde.sh tar [device name] [location]"
|
||||||
echo "./gentoo-kde.sh snapshot"
|
|
||||||
echo "./gentoo-kde.sh reomve-snapshot"
|
|
||||||
echo "./gentoo-kde.sh btrfs-tweaks"
|
echo "./gentoo-kde.sh btrfs-tweaks"
|
||||||
echo
|
echo
|
||||||
}
|
}
|
||||||
tweaks() {
|
tweaks() {
|
||||||
clear
|
clear
|
||||||
echo
|
echo
|
||||||
echo "Gentoo Installer System Tweaks]"
|
echo "[Gentoo Installer System Tweaks]"
|
||||||
echo
|
echo
|
||||||
echo "[1] Reinstall Bootloader"
|
echo "[1] Reinstall Bootloader"
|
||||||
echo "[2] Chroot into existing OS"
|
echo "[2] Chroot into existing OS"
|
||||||
@ -478,6 +476,8 @@ tweaks() {
|
|||||||
echo "[8] Install Steam"
|
echo "[8] Install Steam"
|
||||||
echo "[9] Configure Hibernation"
|
echo "[9] Configure Hibernation"
|
||||||
echo
|
echo
|
||||||
|
echo "Press enter to turn to the Main Menu"
|
||||||
|
echo
|
||||||
read -p 'Your Choice: ' choice
|
read -p 'Your Choice: ' choice
|
||||||
if [[ $choice = 1 ]]; then
|
if [[ $choice = 1 ]]; then
|
||||||
set-devices
|
set-devices
|
||||||
@ -517,7 +517,7 @@ tweaks() {
|
|||||||
elif [[ $choice = 9 ]]; then
|
elif [[ $choice = 9 ]]; then
|
||||||
hibernation
|
hibernation
|
||||||
else
|
else
|
||||||
tweaks
|
menu
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
download-setup() {
|
download-setup() {
|
||||||
@ -563,7 +563,8 @@ menu() {
|
|||||||
echo "[4] Automatic Install"
|
echo "[4] Automatic Install"
|
||||||
echo "[5] Backup"
|
echo "[5] Backup"
|
||||||
echo "[6] Restore"
|
echo "[6] Restore"
|
||||||
echo "[7] Tools and Tweaks"
|
echo
|
||||||
|
echo "Press Enter for Tools and Tweaks"
|
||||||
echo
|
echo
|
||||||
read -p 'Your Choice: ' choice
|
read -p 'Your Choice: ' choice
|
||||||
if [[ $choice = 1 ]]; then
|
if [[ $choice = 1 ]]; then
|
||||||
@ -612,10 +613,8 @@ menu() {
|
|||||||
else
|
else
|
||||||
os-restore "$HARD_DISK" "$backup_name" "home" "$restore_directory" "$BTRFS"
|
os-restore "$HARD_DISK" "$backup_name" "home" "$restore_directory" "$BTRFS"
|
||||||
fi
|
fi
|
||||||
elif [[ $choice = 7 ]]; then
|
|
||||||
tweaks
|
|
||||||
else
|
else
|
||||||
menu
|
tweaks
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
set-devices() {
|
set-devices() {
|
||||||
|
Loading…
Reference in New Issue
Block a user