From 1d67c5f1faa139f2c8b507ec3ebd64f0ba61d557 Mon Sep 17 00:00:00 2001 From: Bandie Date: Thu, 1 Nov 2018 11:52:36 +0100 Subject: [PATCH] Formatting --- src/pam_panic_config/pam_panic_config | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/pam_panic_config/pam_panic_config b/src/pam_panic_config/pam_panic_config index 38e02e7..a36955b 100755 --- a/src/pam_panic_config/pam_panic_config +++ b/src/pam_panic_config/pam_panic_config @@ -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!