root-odJJhXpcy38dnm+
2012-01-26 07:06:05 UTC
Revision: 2817
Author: dmorgan
Date: 2012-01-26 08:06:05 +0100 (Thu, 26 Jan 2012)
Log Message:
-----------
Add FIXME for mageia 3
Modified Paths:
--------------
drakx/trunk/perl-install/standalone/drakclock
Modified: drakx/trunk/perl-install/standalone/drakclock
===================================================================
--- drakx/trunk/perl-install/standalone/drakclock 2012-01-25 22:36:16 UTC (rev 2816)
+++ drakx/trunk/perl-install/standalone/drakclock 2012-01-26 07:06:05 UTC (rev 2817)
@@ -113,11 +113,13 @@
}
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 {
Author: dmorgan
Date: 2012-01-26 08:06:05 +0100 (Thu, 26 Jan 2012)
Log Message:
-----------
Add FIXME for mageia 3
Modified Paths:
--------------
drakx/trunk/perl-install/standalone/drakclock
Modified: drakx/trunk/perl-install/standalone/drakclock
===================================================================
--- drakx/trunk/perl-install/standalone/drakclock 2012-01-25 22:36:16 UTC (rev 2816)
+++ drakx/trunk/perl-install/standalone/drakclock 2012-01-26 07:06:05 UTC (rev 2817)
@@ -113,11 +113,13 @@
}
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 {