Skip to content
Browse files

MORE ADDONS

  • Loading branch information...
1 parent 63ca3bd commit 1c465dedded09ce7063ffb2c8da29623695f7a5b @thomasfrivold committed
Showing with 10 additions and 3 deletions.
  1. +1 −1 LUKSUS.functions
  2. +3 −2 LUKSUS.variables
  3. +6 −0 README
View
2 LUKSUS.functions
@@ -83,7 +83,7 @@ if [[ $LOOPBACKDEVICE == false ]]
then
echo Okay. Using a physical device.
else
-$dialogapp $DIALOGAPPOPTIONS --exit-label "PROCEED" --title $programname --msgbox "Loopbackdevice has been detected!\nYou have specified a loopbackdevice and want to create a filecontainer." 0 0
+$dialogapp $DIALOGAPPOPTIONS --title $programname --msgbox "Loopbackdevice has been detected!\nYou have specified a loopbackdevice and want to create a filecontainer." 0 0
luksfile=$($dialogapp $DIALOGAPPOPTIONS --title $programname --inputbox "LUKSUS has detected that you are creating an encrypted file container.\n\nPlease specify the full path where the encrypted volume should be created. No spaces or special characters. \n\nExample: /home/mystuff.archive" $dialogsize 3>&1 1>&2 2>&3)
fi
}
View
5 LUKSUS.variables
@@ -23,7 +23,8 @@ USEKEY=false
freebsdloopnumber=$(echo $device|{ read; echo "${REPLY#${REPLY%?}}";})
ENCRYPTION=LUKS
NEXT=false
-DIALOGAPPOPTIONS="--no-cancel --backtitle $programname"
+DIALOGAPPOPTIONS="--nocancel"
#DIALOGAPPOPTIONS="--exit-label "PROCEED" --backtitle $programname $version --title "$version""
+#--exit-label "PROCEED"
# Set DEBUGSTEP=DEBUGSTEP to enable debugging
-DEBUGSTEP=
+DEBUGSTEP=
View
6 README
@@ -87,6 +87,12 @@ A: It is based on the guides provided in the LUKS FAQ, Truecrypt/Tcplay FAQ, and
NetBSD disk encryption description: http://www.imrryr.org/~elric/cgd/cgd.pdf
NetBSD cgd author interview: http://www.onlamp.com/pub/a/bsd/2005/12/21/netbsd_cgd.html
+ Bash and sh guides:
+ Michael Potter, Advanced Shell Scripting, http://uniforum.chi.il.us/slides/bash1.pdf
+ Steve Parker, Bourne Shell Programming Tutorial, http://steve-parker.org/sh/sh.shtml
+ Cooper, Advanced Bash Guide, http://www.tldp.org/LDP/abs/html/
+ Greg's Wiki, BashFAQ, http://mywiki.wooledge.org/BashFAQ
+
Q: How is the script designed?
A: The script reuses code wherever possible and is heavily built around reusable variables.
The script works like this:

0 comments on commit 1c465de

Please sign in to comment.
Something went wrong with that request. Please try again.