Harmonize menus entries
* Override *.cfg instead of using hooks * Harmonize the menu entries labels (same text, add architectures...)merge-requests/18/merge
parent
37a9e1ab9f
commit
491815e7ae
@ -0,0 +1,31 @@
|
|||||||
|
label live-@FLAVOUR@
|
||||||
|
menu label ^Live system (@FLAVOUR@)
|
||||||
|
menu default
|
||||||
|
linux @LINUX@
|
||||||
|
initrd @INITRD@
|
||||||
|
append @APPEND_LIVE@
|
||||||
|
|
||||||
|
label live-@FLAVOUR@-failsafe
|
||||||
|
menu label Live system (@FLAVOUR@ fail-safe mode)
|
||||||
|
linux @LINUX@
|
||||||
|
initrd @INITRD@
|
||||||
|
append @APPEND_LIVE_FAILSAFE@
|
||||||
|
|
||||||
|
label live-forensic
|
||||||
|
menu label Live system (@FLAVOUR@ ^forensic mode)
|
||||||
|
linux @LINUX@
|
||||||
|
initrd @INITRD@
|
||||||
|
append boot=live username=kali hostname=kali systemd.swap=no noautomount
|
||||||
|
|
||||||
|
label live-persistence
|
||||||
|
menu label Live system with ^USB persistence (check kali.org/prst)
|
||||||
|
linux @LINUX@
|
||||||
|
initrd @INITRD@
|
||||||
|
append boot=live username=kali hostname=kali persistence
|
||||||
|
|
||||||
|
label live-encrypted-persistence
|
||||||
|
menu label Live system with USB ^Encrypted persistence
|
||||||
|
linux @LINUX@
|
||||||
|
initrd @INITRD@
|
||||||
|
append boot=live persistent=cryptsetup persistence-encryption=luks username=kali hostname=kali persistence
|
||||||
|
|
@ -0,0 +1,18 @@
|
|||||||
|
menu hshift 0
|
||||||
|
menu width 82
|
||||||
|
|
||||||
|
menu title Kali Linux live menu (BIOS mode)
|
||||||
|
include stdmenu.cfg
|
||||||
|
include live.cfg
|
||||||
|
@OPTIONAL_INSTALLER_INCLUDE@
|
||||||
|
menu begin utilities
|
||||||
|
menu label ^Utilities
|
||||||
|
menu title Utilities
|
||||||
|
include stdmenu.cfg
|
||||||
|
label mainmenu
|
||||||
|
menu label ^Back..
|
||||||
|
menu exit
|
||||||
|
include utilities.cfg
|
||||||
|
menu end
|
||||||
|
|
||||||
|
menu clear
|
@ -1,15 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
# Live Image (BIOS boot)
|
|
||||||
|
|
||||||
if [ ! -d isolinux ]; then
|
|
||||||
cd binary
|
|
||||||
fi
|
|
||||||
|
|
||||||
cat >>isolinux/live.cfg <<END
|
|
||||||
|
|
||||||
label live-forensic
|
|
||||||
menu label Live (^forensic mode)
|
|
||||||
linux /live/vmlinuz
|
|
||||||
initrd /live/initrd.img
|
|
||||||
append boot=live username=kali hostname=kali systemd.swap=no noautomount
|
|
||||||
END
|
|
@ -1,23 +0,0 @@
|
|||||||
#!/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)|'
|
|
Loading…
Reference in New Issue