Formatting

This commit is contained in:
Bandie 2018-11-01 11:52:36 +01:00
parent 02e104b395
commit 1d67c5f1fa
Signed by: Bandie
GPG Key ID: C1E133BC65A822DD
1 changed files with 5 additions and 1 deletions

View File

@ -123,10 +123,11 @@ dialog --backtitle "pam_panic's Configuration Generator" \
--ok-label "Yip!" \
--msgbox "Welcome to pam_panic's Configuration Generator.\n\nIt will help you to create a valid pam_panic setup. It will also generate a Linux' PAM configuration file.\n\nAfter you're done with this Configuration Generator, you will see some hints how to integrate the new PAM configuration file in your system." 20 80
# Authentication mode
auth_mode=2
while [ $auth_mode -eq 2 ]; do
# Authentication mode
dialog --backtitle "pam_panic's Configuration Generator" \
--title "Authentication mode" \
--help-button \
@ -190,6 +191,7 @@ while [ $auth_mode -eq 2 ]; do
esac
done
# serious flag
ask "pam_panic's behaviour" "Do you wish to destroy your LUKS header in case of emergency?\nThis means that your encrypted root device won't be readable anymore. After this question you will be asked to make a backup of this header."
serious=$?
@ -214,6 +216,7 @@ if [ $serious -eq 0 ]; then
fi
fi
# poweroff / reboot behaviour
dialog --backtitle "pam_panic's Configuration Generator" \
--title "pam_panic's behaviour" \
@ -269,6 +272,7 @@ else
echo -e "$config" > $CONFIGFILE
fi
# Finished message
clear
[ $ov -eq 0 ] && echo "Done! <3" || echo "Nothing done! </3"