You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kali-live-build/kali-config/common/hooks/live/persistence-menu.binary

24 lines
692 B
Bash

#!/bin/sh
# Live Image (BIOS boot)
if [ ! -d isolinux ]; then
cd binary
fi
cat >>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 username=kali 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 username=kali hostname=kali persistence
END
sed -i isolinux/menu.cfg -e 's|menu title Boot menu|menu title Kali Linux live menu (BIOS mode)|'