summaryrefslogtreecommitdiffstats
path: root/perl-install/timezone.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-09-03 16:27:05 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-09-03 16:27:05 +0000
commit3048135bf8641c9e2ad99a4979f87974eafd5de0 (patch)
tree4e0badf87618c0ac114188ae4b865842dac24862 /perl-install/timezone.pm
parentc03d03bceb59a3d974c4d39232580416360e472d (diff)
downloaddrakx-backup-do-not-use-3048135bf8641c9e2ad99a4979f87974eafd5de0.tar
drakx-backup-do-not-use-3048135bf8641c9e2ad99a4979f87974eafd5de0.tar.gz
drakx-backup-do-not-use-3048135bf8641c9e2ad99a4979f87974eafd5de0.tar.bz2
drakx-backup-do-not-use-3048135bf8641c9e2ad99a4979f87974eafd5de0.tar.xz
drakx-backup-do-not-use-3048135bf8641c9e2ad99a4979f87974eafd5de0.zip
(ntp_server): also set /etc/ntp/step-tickers
Diffstat (limited to 'perl-install/timezone.pm')
-rw-r--r--perl-install/timezone.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/timezone.pm b/perl-install/timezone.pm
index f501ac538..c137b1d6a 100644
--- a/perl-install/timezone.pm
+++ b/perl-install/timezone.pm
@@ -39,6 +39,7 @@ sub ntp_server {
$server = '';
}
} $f;
+ output("$prefix/etc/ntp/step-tickers", "$server\n");
} else {
($server) = grep { $_ ne '127.127.1.0' } map { if_(/^\s*server\s+(\S*)/, $1) } cat_($f);
}