summaryrefslogtreecommitdiffstats
path: root/time_wizard
diff options
context:
space:
mode:
Diffstat (limited to 'time_wizard')
-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},