diff options
author | Unit 193 <unit193@ubuntu.com> | 2015-05-16 00:42:29 -0400 |
---|---|---|
committer | Unit 193 <unit193@ubuntu.com> | 2015-05-16 00:42:29 -0400 |
commit | 00b967901c48b722a680c7f18d8d3a219a14bf3b (patch) | |
tree | 5db157b4a39fca301c1e5f218a905c383937f605 /config/hooks | |
download | xebian-lb-config-00b967901c48b722a680c7f18d8d3a219a14bf3b.tar.bz2 xebian-lb-config-00b967901c48b722a680c7f18d8d3a219a14bf3b.tar.xz xebian-lb-config-00b967901c48b722a680c7f18d8d3a219a14bf3b.tar.zst |
Initial commit
Diffstat (limited to 'config/hooks')
-rwxr-xr-x | config/hooks/persistence-menu.binary | 18 | ||||
-rwxr-xr-x | config/hooks/sleep.chroot | 3 |
2 files changed, 21 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 + diff --git a/config/hooks/sleep.chroot b/config/hooks/sleep.chroot new file mode 100755 index 0000000..f4c7b74 --- /dev/null +++ b/config/hooks/sleep.chroot @@ -0,0 +1,3 @@ +#!/bin/bash +# sleep for 30 between chroot and binary stages. Helps in WM's such as XFCE and LXDE. +sleep 30 |