summaryrefslogtreecommitdiffstats
path: root/perl-install
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
commit98ebb90cdeaffbba3bcf6f3adbcdc29143db61c3 (patch)
tree93dd82f36f5078a824842f49c52d355f6da464e3 /perl-install
parentbc622c9f42da2b7eaddf2ea4f28a9e2628eb250d (diff)
downloaddrakx-98ebb90cdeaffbba3bcf6f3adbcdc29143db61c3.tar
drakx-98ebb90cdeaffbba3bcf6f3adbcdc29143db61c3.tar.gz
drakx-98ebb90cdeaffbba3bcf6f3adbcdc29143db61c3.tar.bz2
drakx-98ebb90cdeaffbba3bcf6f3adbcdc29143db61c3.tar.xz
drakx-98ebb90cdeaffbba3bcf6f3adbcdc29143db61c3.zip
Add FIXME for mageia 3
Diffstat (limited to 'perl-install')
-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 {