diff options
author | Michael Janczyk | 2009-04-02 21:55:59 +0200 |
---|---|---|
committer | Michael Janczyk | 2009-04-02 21:55:59 +0200 |
commit | 8798e1d6c3c2d7e0d24c25ccd334ef1a39944b74 (patch) | |
tree | 879758ecd2ffdd9edbebe7ee6cd7d12bc2ecd281 | |
parent | never config, we need only vesamenu.c32, I don't see a point to use menu.c32 ... (diff) | |
download | core-8798e1d6c3c2d7e0d24c25ccd334ef1a39944b74.tar.gz core-8798e1d6c3c2d7e0d24c25ccd334ef1a39944b74.tar.xz core-8798e1d6c3c2d7e0d24c25ccd334ef1a39944b74.zip |
Bugfix forgot semicolon and to remove copy of menu.c32
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2797 95ad53e4-c205-0410-b2fa-d234c58c8868
-rw-r--r-- | boot-env/OpenSLX/BootEnvironment/PXE.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/boot-env/OpenSLX/BootEnvironment/PXE.pm b/boot-env/OpenSLX/BootEnvironment/PXE.pm index 2b9d673c..c8ecd67a 100644 --- a/boot-env/OpenSLX/BootEnvironment/PXE.pm +++ b/boot-env/OpenSLX/BootEnvironment/PXE.pm @@ -142,10 +142,11 @@ sub _getTemplate my $tftpServer = $openslxConfig{'tftp-server-ip'}; my $pxeTheme = $openslxConfig{'pxe-theme'}; if (defined $tftpServer) { - $tftpServer .= "::" + $tftpServer .= "::"; } else { $tftpServer = ""; + } my ($sec, $min, $hour, $day, $mon, $year) = (localtime); $mon++; @@ -236,7 +237,7 @@ sub _prepareBootloaderConfigFolder rmtree($pxeConfigPath); mkpath($pxeConfigPath); - for my $file ('pxelinux.0', 'menu.c32', 'vesamenu.c32') { + for my $file ('pxelinux.0', 'vesamenu.c32') { if (!-e "$pxePath/$file") { slxsystem( qq[cp -p "$basePath/share/boot-env/pxe/$file" $pxePath/] |