diff options
author | Daouda Lo <daouda@mandriva.com> | 2004-04-08 16:38:20 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2004-04-08 16:38:20 +0000 |
commit | 427af3d02df09ef0a714b7f772cbca0851d8db0f (patch) | |
tree | fc2d9748128c560d0c941f6b640e83c2a123c3e1 /perl-install/standalone/drakclock | |
parent | c3514cc2c522af9b766778a25adc380d0b33c662 (diff) | |
download | drakx-backup-do-not-use-427af3d02df09ef0a714b7f772cbca0851d8db0f.tar drakx-backup-do-not-use-427af3d02df09ef0a714b7f772cbca0851d8db0f.tar.gz drakx-backup-do-not-use-427af3d02df09ef0a714b7f772cbca0851d8db0f.tar.bz2 drakx-backup-do-not-use-427af3d02df09ef0a714b7f772cbca0851d8db0f.tar.xz drakx-backup-do-not-use-427af3d02df09ef0a714b7f772cbca0851d8db0f.zip |
- test /etc/init.d/ntpd instead of /etc/ntp.conf for ntp installation
Diffstat (limited to 'perl-install/standalone/drakclock')
-rwxr-xr-x | perl-install/standalone/drakclock | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakclock b/perl-install/standalone/drakclock index 7e7d8c479..018f8b480 100755 --- a/perl-install/standalone/drakclock +++ b/perl-install/standalone/drakclock @@ -82,7 +82,7 @@ $my_win->{window}->add(gtkpack_(gtkset_border_width(Gtk2::VBox->new, $::isEmbedd 0, gtksignal_connect(gtkset_active($check_ntp = Gtk2::CheckButton->new(N("Enable Network Time Protocol")), $mode), clicked => sub { $mode = !$mode; $hb_ntp->set_sensitive($mode); - if (!-e $ntpfile && $mode == 1) { + if (!-e "/etc/init.d/ntpd" && $mode == 1) { install_ntp(); } }), |