summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakclock
diff options
context:
space:
mode:
authorDexter Morgan <dmorgan@mageia.org>2012-01-26 07:06:05 +0000
committerDexter Morgan <dmorgan@mageia.org>2012-01-26 07:06:05 +0000
commite7bccb639cff2fff25cd9d76c23da8b2c8ee350b (patch)
tree93dd82f36f5078a824842f49c52d355f6da464e3 /perl-install/standalone/drakclock
parent76a0f8616b411c936b0efeb5c7a4a9e3d2589316 (diff)
downloaddrakx-backup-do-not-use-e7bccb639cff2fff25cd9d76c23da8b2c8ee350b.tar
drakx-backup-do-not-use-e7bccb639cff2fff25cd9d76c23da8b2c8ee350b.tar.gz
drakx-backup-do-not-use-e7bccb639cff2fff25cd9d76c23da8b2c8ee350b.tar.bz2
drakx-backup-do-not-use-e7bccb639cff2fff25cd9d76c23da8b2c8ee350b.tar.xz
drakx-backup-do-not-use-e7bccb639cff2fff25cd9d76c23da8b2c8ee350b.zip
Add FIXME for mageia 3
Diffstat (limited to 'perl-install/standalone/drakclock')
-rwxr-xr-xperl-install/standalone/drakclock2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/standalone/drakclock b/perl-install/standalone/drakclock
index ad7378aea..8ed2eb392 100755
--- a/perl-install/standalone/drakclock
+++ b/perl-install/standalone/drakclock
@@ -113,11 +113,13 @@ $my_win->{window}->add(gtknew('VBox', border_width => $::isEmbedded ? 0 : 5, chi
}
timezone::set_ntp_server($choosed_serv);
system(qw(/sbin/chkconfig --level 35 ntpd on));
+ # FIXME: Change to use systemctl when will not support old iniscript anymore
system(qw(service ntpd stop));
#verify that we have a valid hostname (thx sam)
$choosed_serv =~ s/[^-a-zA-Z0-9.]//g;
if (!system("/usr/sbin/ntpdate", $choosed_serv)) {
update_time(); #- get the new time before updating the hwclock
+ # FIXME: Change to use systemctl when will not support old iniscript anymore
system(qw(service ntpd start));
$need_date = 0;
} else {