summaryrefslogtreecommitdiff
path: root/liveusb
diff options
context:
space:
mode:
authorYuval Adam <yuv.adm@gmail.com>2014-12-15 18:09:27 +0100
committerYuval Adam <yuv.adm@gmail.com>2014-12-15 18:09:27 +0100
commit0bce6a638d2b9e197bd6edd7de6acea4649b5343 (patch)
tree28e643735a37876bca07a487c6f09d6a30afacb6 /liveusb
parentba1a23fb2194866623de28e28f0b4f0b1cd03c53 (diff)
Add AMENTHES_START.sh script
Diffstat (limited to 'liveusb')
-rwxr-xr-xliveusb/airootfs/home/amenthes/Desktop/AMENTHES_START.sh37
1 files changed, 37 insertions, 0 deletions
diff --git a/liveusb/airootfs/home/amenthes/Desktop/AMENTHES_START.sh b/liveusb/airootfs/home/amenthes/Desktop/AMENTHES_START.sh
new file mode 100755
index 0000000..f0c7009
--- /dev/null
+++ b/liveusb/airootfs/home/amenthes/Desktop/AMENTHES_START.sh
@@ -0,0 +1,37 @@
+#!/bin/bash
+
+echo '''
+###############################################
+ | |
+ _` | __ `__ \ _ \ __ \ __| __ \ _ \ __|
+ ( | | | | __/ | | | | | | __/\__ \
+\__,_|_| _| _|\___|_| _|\__|_| |_|\___|____/
+
+###############################################
+
+
+
+Prepare to enter passphrase for encrypted content...
+
+'''
+sudo su
+loopdev=$(losetup -f)
+
+losetup ${loopdev} /encrypted
+cryptsetup --type luks open ${loopdev} cryptloop
+mount /dev/mapper/cryptloop /mnt/decrypted
+
+echo '''
+
+
+Files decrypted successfully. Opening directory...
+
+'''
+
+sleep 2
+
+pcmanfm /mnt/decrypted &
+
+exit
+exit
+