diff options
author | Stew Benedict <stewb@mandriva.org> | 2004-02-25 21:11:12 +0000 |
---|---|---|
committer | Stew Benedict <stewb@mandriva.org> | 2004-02-25 21:11:12 +0000 |
commit | 02a438c173fd05e173fd3dab97876b712d715d04 (patch) | |
tree | bb03854f004f8f9f5b3932a2836cb47ff2b279a1 /perl-install/standalone/drakTermServ | |
parent | 8343c4ac6b93bd1db95d46b520d6961465821e67 (diff) | |
download | drakx-02a438c173fd05e173fd3dab97876b712d715d04.tar drakx-02a438c173fd05e173fd3dab97876b712d715d04.tar.gz drakx-02a438c173fd05e173fd3dab97876b712d715d04.tar.bz2 drakx-02a438c173fd05e173fd3dab97876b712d715d04.tar.xz drakx-02a438c173fd05e173fd3dab97876b712d715d04.zip |
Really filter symlinked kernels. nohup the dm restart.
Diffstat (limited to 'perl-install/standalone/drakTermServ')
-rwxr-xr-x | perl-install/standalone/drakTermServ | 4 |
1 files changed, 2 insertions, 2 deletions
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; } } |