From 8798e1d6c3c2d7e0d24c25ccd334ef1a39944b74 Mon Sep 17 00:00:00 2001 From: Michael Janczyk Date: Thu, 2 Apr 2009 19:55:59 +0000 Subject: 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 --- boot-env/OpenSLX/BootEnvironment/PXE.pm | 5 +++-- 1 file 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/] -- cgit v1.2.3-55-g7522