Skip to content

Commit

Permalink
MORE ADDONS
Browse files Browse the repository at this point in the history
  • Loading branch information
partoneoftwo committed Oct 25, 2013
1 parent 63ca3bd commit 1c465de
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion LUKSUS.functions
Expand Up @@ -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
}
Expand Down
5 changes: 3 additions & 2 deletions LUKSUS.variables
Expand Up @@ -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=
6 changes: 6 additions & 0 deletions README
Expand Up @@ -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:
Expand Down

0 comments on commit 1c465de

Please sign in to comment.