Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

1.50 released

  • Loading branch information...
commit f91982995b9142c6df7e7e0c41b4cd13007bd896 1 parent a738d78
@thomasfrivold authored
Showing with 7 additions and 7 deletions.
  1. +0 −1  LUKSUS
  2. +5 −6 LUKSUS.functions
  3. +2 −0  LUKSUS.variables
View
1  LUKSUS
@@ -125,7 +125,6 @@ DONTSHREDIFLOOPBACK
# TRUECRYPT PROCESS
TRUECRYPT
-sleep 30s
TRUECRYPTKEYFILE
TRUECRYPTOPEN
View
11 LUKSUS.functions
@@ -5,7 +5,7 @@ DEVICESET()
{
device=$($dialogapp $DIALOGAPPOPTIONS --inputbox "Enter the device to
create encrypted volume on.\nExample:\n/dev/sdd1\n\nTo create an encrypted filecontainer
-use a LOOPBACKDEVICE.\nExample:\n/dev/loop0 (Linux)\n/dev/vn0
+use a LOOPBACKDEVICE.\nExample:\n/dev/loop0 (Linux) $linuxloopbackmessage\n/dev/vn0
(DragonFlyBSD)\n
/dev/md0 (FreeBSD)\n
/dev/vnd0 (NetBSD)\n" 0 0 3>&1 1>&2 2>&3)
@@ -221,11 +221,10 @@ ASKUSERVERIFYCONSOLE ()
GRAPHICALLASTCHANCE()
{
"$dialogapp" --title $programname --msgbox "
- JUST TO MAKE DOUBLY SURE THAT YOU ARE FORMATTING THE CORRECT DRIVE\n
- LUKSUS ASKS AGAIN. IS THIS THE CORRECT DEVICE TO FORMAT AND ENCRYPT?\n
- YOU WILL NUKE THE FOLLOWING DEVICE: $device\n
- HIT CTRL+C NOW TO QUIT, OR HIT ANY KEY TO CONTINUE\n
- SERIOUSLY - LAST CHANCE\n" 0 0
+ JUST TO MAKE DOUBLY SURE THAT YOU ARE FORMATTING THE CORRECT DRIVE
+ LUKSUS ASKS AGAIN. IS THIS THE CORRECT DEVICE TO FORMAT AND ENCRYPT?
+ YOU WILL NUKE THE FOLLOWING DEVICE: $device\n\n\n
+ HIT CTRL+C NOW OR HIT ESCAPE TO QUIT, OR HIT ANY KEY TO CONTINUE" 0 0
}
View
2  LUKSUS.variables
@@ -20,6 +20,8 @@ height=$(echo $screensize | cut -d " " -f 1)
width=$(echo $screensize | cut -d " " -f 2)
datenow=$(date)
USEKEY=false
+linuxloopback=$(losetup -f)
+linuxloopbackmessage="$linuxloopback is available"
freebsdloopnumber=$(echo $device|{ read; echo "${REPLY#${REPLY%?}}";})
ENCRYPTION=LUKS
NEXT=false
Please sign in to comment.
Something went wrong with that request. Please try again.