summaryrefslogtreecommitdiffstats
path: root/config/hooks/persistence-menu.binary
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@ubuntu.com>2015-05-16 00:42:29 -0400
committerLibravatarUnit 193 <unit193@ubuntu.com>2015-05-16 00:42:29 -0400
commit00b967901c48b722a680c7f18d8d3a219a14bf3b (patch)
tree5db157b4a39fca301c1e5f218a905c383937f605 /config/hooks/persistence-menu.binary
Initial commit
Diffstat (limited to 'config/hooks/persistence-menu.binary')
-rwxr-xr-xconfig/hooks/persistence-menu.binary18
1 files changed, 18 insertions, 0 deletions
diff --git a/config/hooks/persistence-menu.binary b/config/hooks/persistence-menu.binary
new file mode 100755
index 0000000..a88f305
--- /dev/null
+++ b/config/hooks/persistence-menu.binary
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+cat >>binary/isolinux/live.cfg <<END
+
+label live-persistence
+ menu label ^Live USB Persistence (check kali.org/prst)
+ linux /live/vmlinuz
+ initrd /live/initrd.img
+ append boot=live noconfig=sudo username=root hostname=kali persistence
+
+label live-encrypted-persistence
+ menu label ^Live USB Encrypted Persistence (check kali.org/prst)
+ linux /live/vmlinuz
+ initrd /live/initrd.img
+ append boot=live persistent=cryptsetup persistence-encryption=luks noconfig=sudo username=root hostname=kali persistence
+
+END
+