From fc3de835f1fb3735b9e2f084311b36cf35639dd0 Mon Sep 17 00:00:00 2001 From: Ulrich Dangel Date: Wed, 21 Oct 2009 00:23:29 +0200 Subject: [PATCH] Write prompt label to an extra file to be more flexible --- grml2usb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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']) -- 2.1.4