From: Ulrich Dangel Date: Tue, 20 Oct 2009 22:23:29 +0000 (+0200) Subject: Write prompt label to an extra file to be more flexible X-Git-Tag: v0.9.13~6 X-Git-Url: http://git.grml.org/?p=grml2usb.git;a=commitdiff_plain;h=fc3de835f1fb3735b9e2f084311b36cf35639dd0 Write prompt label to an extra file to be more flexible --- diff --git a/grml2usb b/grml2usb index dfb6ef6..023e036 100755 --- a/grml2usb +++ b/grml2usb @@ -536,7 +536,7 @@ include options.cfg include addons.cfg label help - menu label S^yslinux prompt + include promptname.cfg config prompt.cfg text help Jump to old style isolinux prompt @@ -1479,6 +1479,10 @@ def handle_syslinux_config(grml_flavour, target): syslinux_config_file.write("include vesamenu.cfg\n") syslinux_config_file.close() + prompt_name = open(syslinux_target + 'promptname.cfg', 'w') + prompt_name.write('menu label S^yslinux prompt\n') + prompt_name.close() + initial_syslinux_config(syslinux_target) modify_filenames(grml_flavour, syslinux_target, ['grml.cfg', 'default.cfg'])