New backup 2025-07-19 21:15:01

This commit is contained in:
Penelope Gwen 2025-07-19 21:15:01 -07:00
parent 02436c0712
commit ce4dae218b

View file

@ -2,7 +2,7 @@
echo "this is not yet done!"
echo "Currently it does not add swap to /etc/fstab or /etc/crypttab"
exit 1
#exit 1
read -p '[?] keyfile path [/etc/crypttab.d/swap_key]: ' keyfile_dest
keyfile_dest=${keyfile_dest:-/etc/crypttab.d/swap_key}
@ -39,7 +39,7 @@ case "${proceed_confirm}" in
;;
esac
exit
#exit
printf '[-] Writing keyfile...\n'
mkdir -p "$(dirname ${keyfile_dest})"