From 02a438c173fd05e173fd3dab97876b712d715d04 Mon Sep 17 00:00:00 2001 From: Stew Benedict Date: Wed, 25 Feb 2004 21:11:12 +0000 Subject: Really filter symlinked kernels. nohup the dm restart. --- perl-install/standalone/drakTermServ | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/standalone') diff --git a/perl-install/standalone/drakTermServ b/perl-install/standalone/drakTermServ index a9d82412a..7a91fcb70 100755 --- a/perl-install/standalone/drakTermServ +++ b/perl-install/standalone/drakTermServ @@ -60,7 +60,7 @@ my $tftpboot = "/var/lib/tftpboot"; my @kernels = grep { /vmlinuz-/ } all("/boot"); my $i = 0; foreach (@kernels) { - splice(@kernels, $i, 1) if -l $_; + splice(@kernels, $i, 1) if -l "/boot/$_"; $i++; } @@ -483,7 +483,7 @@ sub sync_users { sub restart_dm() { if ($clients_set) { my $result = $in->ask_okcancel('', N("In order to enable changes made for thin clients, the display manager must be restarted. Restart now?")); - system('/sbin/service dm restart') if $result; + system('nohup /sbin/service dm restart') if $result; } } -- cgit v1.2.1