summaryrefslogtreecommitdiffstats
path: root/boot-env/OpenSLX/BootEnvironment/PXE.pm
diff options
context:
space:
mode:
authorMichael Janczyk2009-07-03 16:36:08 +0200
committerMichael Janczyk2009-07-03 16:36:08 +0200
commitc92759835de754109c16949b1c6a0881476bd4de (patch)
treeeac6c5eec85082bad19baceed3b0c655dabdf5a2 /boot-env/OpenSLX/BootEnvironment/PXE.pm
parentxserver plugin: (diff)
downloadcore-c92759835de754109c16949b1c6a0881476bd4de.tar.gz
core-c92759835de754109c16949b1c6a0881476bd4de.tar.xz
core-c92759835de754109c16949b1c6a0881476bd4de.zip
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
Diffstat (limited to 'boot-env/OpenSLX/BootEnvironment/PXE.pm')
-rw-r--r--boot-env/OpenSLX/BootEnvironment/PXE.pm12
1 files changed, 6 insertions, 6 deletions
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/]
);
}
}