From 0bce6a638d2b9e197bd6edd7de6acea4649b5343 Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Mon, 15 Dec 2014 18:09:27 +0100 Subject: Add AMENTHES_START.sh script --- .../home/amenthes/Desktop/AMENTHES_START.sh | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100755 liveusb/airootfs/home/amenthes/Desktop/AMENTHES_START.sh 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 + -- cgit v1.3.1