diff options
| -rwxr-xr-x | liveusb/airootfs/home/amenthes/Desktop/AMENTHES_START.sh | 37 |
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 + |
