summaryrefslogtreecommitdiffstats
path: root/time_wizard/Ntp.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-10-17 16:30:48 +0000
committerThierry Vignaud <tv@mageia.org>2012-10-17 16:30:48 +0000
commita82b53295f3f886e94eec36744fc9b4dcc7f1f1a (patch)
tree1256828bf57bbd065bc93f245b0a86daac68f879 /time_wizard/Ntp.pm
parent80aeb2c106769f94c69b8a05a40819155e296b98 (diff)
downloaddrakwizard-a82b53295f3f886e94eec36744fc9b4dcc7f1f1a.tar
drakwizard-a82b53295f3f886e94eec36744fc9b4dcc7f1f1a.tar.gz
drakwizard-a82b53295f3f886e94eec36744fc9b4dcc7f1f1a.tar.bz2
drakwizard-a82b53295f3f886e94eec36744fc9b4dcc7f1f1a.tar.xz
drakwizard-a82b53295f3f886e94eec36744fc9b4dcc7f1f1a.zip
no need to prefix those functions with their namespace
Diffstat (limited to 'time_wizard/Ntp.pm')
-rw-r--r--time_wizard/Ntp.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/time_wizard/Ntp.pm b/time_wizard/Ntp.pm
index c754a833..08f9db52 100644
--- a/time_wizard/Ntp.pm
+++ b/time_wizard/Ntp.pm
@@ -197,14 +197,14 @@ sub do_it {
return;
}
my $file = "/etc/sysconfig/clock";
- !-f "$file.orig" and MDK::Common::cp_af($file, $file . ".orig");
+ !-f "$file.orig" and cp_af($file, $file . ".orig");
local *NEW;
output($file, qq(UTC=true
ZONE=$o->{var}{wiz_timezone}
ARC=false
));
- -f "/usr/share/zoneinfo/$o->{var}{wiz_timezone}" and MDK::Common::cp_af("/usr/share/zoneinfo/$o->{var}{wiz_timezone}", "/etc/localtime");
- -f "/etc/ntp/step-tickers" and MDK::Common::cp_af("/etc/ntp/step-tickers", "/etc/ntp/step-tickers.orig");
+ -f "/usr/share/zoneinfo/$o->{var}{wiz_timezone}" and cp_af("/usr/share/zoneinfo/$o->{var}{wiz_timezone}", "/etc/localtime");
+ -f "/etc/ntp/step-tickers" and cp_af("/etc/ntp/step-tickers", "/etc/ntp/step-tickers.orig");
output('/etc/ntp/step-tickers', join("\n", $o->{var}{varserver1},
$o->{var}{varserver2},
$o->{var}{varserver3},