Permalink
Browse files

Better and Better

  • Loading branch information...
partoneoftwo committed Oct 24, 2013
1 parent b8f8dcd commit f188a709d4b961bde032bcdf25fe2529169a0cdd
Showing with 7 additions and 7 deletions.
  1. +7 −7 LUKSUS.functions
View
@@ -28,8 +28,8 @@ $DIALOGAPP --clear --title "Set your preferred encryption engine" \
retval=$?
-choice=`cat $tempfile.enginemode`
-
+choice=$(cat $tempfile.enginemode)
+ENCRYPTION=$(cat $tempfile.enginemode)
case $retval in
0)
echo "'$choice' is your chosen encryption engine";;
@@ -48,13 +48,13 @@ trap "rm -f $tempfile.securitymode" 0 1 2 5 15
$DIALOGAPP --clear --title "Please choose security mode" \
--menu "Do you wish to use a passphrase or a keyfile" 20 51 4 \
- "PASSPHRASE" "PASSPHRASE" \
- "KEYFILE" "KEYFILE (WILL BE GENERATED FOR YOU)" 2> $tempfile.securitymode
+ "FALSE" "PASSPHRASE" \
+ "TRUE" "KEYFILE (WILL BE GENERATED FOR YOU)" 2> $tempfile.securitymode
retval=$?
-choice=`cat $tempfile.securitymode`
-
+choice=$(cat $tempfile.securitymode)
+USEKEY=$(cat $tempfile.securitymode)
case $retval in
0)
echo "'$choice' is your chosen security mode";;
@@ -127,9 +127,9 @@ program before $programname does any heavywork." 0 0
WIZARD()
{
# RUN THROUGH THE LUKSUS-WIZARD
+ENCRYPTIONENGINE
DEVICESET
LOOPBACKTEST
-ENCRYPTIONENGINE
LUKSFILESET
LUKSFILESIZESET
NAMESET

0 comments on commit f188a70

Please sign in to comment.