From c92759835de754109c16949b1c6a0881476bd4de Mon Sep 17 00:00:00 2001 From: Michael Janczyk Date: Fri, 3 Jul 2009 14:36:08 +0000 Subject: no need for different syslinux dirs, now everything inside syslinux git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2990 95ad53e4-c205-0410-b2fa-d234c58c8868 --- boot-env/OpenSLX/BootEnvironment/PXE.pm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'boot-env/OpenSLX/BootEnvironment/PXE.pm') diff --git a/boot-env/OpenSLX/BootEnvironment/PXE.pm b/boot-env/OpenSLX/BootEnvironment/PXE.pm index 35b0a3b8..ceb9e1de 100644 --- a/boot-env/OpenSLX/BootEnvironment/PXE.pm +++ b/boot-env/OpenSLX/BootEnvironment/PXE.pm @@ -166,7 +166,7 @@ sub writeBootloaderMenuFor $pxeConfig .= $slxLabels; # fetch PXE-bottom iclude, if exists (overwrite existing definitions) my $pxeBottomFile - = "$openslxConfig{'config-path'}/boot-env/pxe/menu-bottom"; + = "$openslxConfig{'config-path'}/boot-env/syslinux/pxemenu-bottom"; if (-e $pxeBottomFile) { $pxeConfig .= "\n# configuration from include $pxeBottomFile\n"; $pxeConfig .= slurpFile($pxeBottomFile); @@ -189,7 +189,7 @@ sub _getTemplate my $basePath = $openslxConfig{'base-path'}; my $configPath = $openslxConfig{'config-path'}; - my $pxeTheme = $openslxConfig{'pxe-theme'}; + my $pxeTheme = $openslxConfig{'syslinux-theme'}; my ($sec, $min, $hour, $day, $mon, $year) = (localtime); $mon++; @@ -210,9 +210,9 @@ sub _getTemplate # let user stuff in config path win over our stuff in base path my $pxeThemePath; my $pxeThemeInConfig - = "$configPath/boot-env/pxe/themes/${pxeTheme}"; + = "$configPath/boot-env/syslinux/themes/${pxeTheme}"; my $pxeThemeInBase - = "$basePath/share/boot-env/pxe/themes/${pxeTheme}"; + = "$basePath/share/boot-env/syslinux/themes/${pxeTheme}"; if (-e "$pxeThemeInConfig/theme.conf") { $pxeThemePath = $pxeThemeInConfig; } @@ -251,7 +251,7 @@ sub _getTemplate # fetch PXE-include, if exists (overwrite existing definitions) my $pxeIncludeFile - = "$openslxConfig{'config-path'}/boot-env/pxe/menu-include"; + = "$openslxConfig{'config-path'}/boot-env/syslinux/pxemenu-include"; if (-e $pxeIncludeFile) { $pxeTemplate .= "\n# configuration from include $pxeIncludeFile\n"; $pxeTemplate .= slurpFile($pxeIncludeFile); @@ -279,7 +279,7 @@ sub _prepareBootloaderConfigFolder 'mboot.c32', 'kernel-shutdown', 'initramfs-shutdown') { if (!-e "$pxePath/$file") { slxsystem( - qq[cp -p "$basePath/share/boot-env/pxe/$file" $pxePath/] + qq[cp -p "$basePath/share/boot-env/syslinux/$file" $pxePath/] ); } } -- cgit v1.2.3-55-g7522