diff options
Diffstat (limited to 'perl-install/standalone/drakTermServ')
-rwxr-xr-x | perl-install/standalone/drakTermServ | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/perl-install/standalone/drakTermServ b/perl-install/standalone/drakTermServ index 78031be88..8dd512658 100755 --- a/perl-install/standalone/drakTermServ +++ b/perl-install/standalone/drakTermServ @@ -59,12 +59,7 @@ my $server_ip = get_ip_from_sys(); my $changes_made = 0; my $client_cfg = "/etc/dhcpd.conf.etherboot.clients"; my $tftpboot = "/var/lib/tftpboot"; -my @kernels = grep { /vmlinuz-/ } all("/boot"); -my $i = 0; -foreach (@kernels) { - splice(@kernels, $i, 1) if -l "/boot/$_"; - $i++; -} +my @kernels = grep { /vmlinuz-/ && ! -l "/boot/$_" } all("/boot"); #- make sure terminal server and friends are installed my $ts = system("rpm -q terminal-server > /dev/null"); |