New backup 2025-07-19 21:15:01
This commit is contained in:
parent
02436c0712
commit
ce4dae218b
1 changed files with 2 additions and 2 deletions
|
@ -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})"
|
||||
|
|
Loading…
Add table
Reference in a new issue