diff options
Diffstat (limited to 'time_wizard/Ntp.pm')
-rw-r--r-- | time_wizard/Ntp.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/time_wizard/Ntp.pm b/time_wizard/Ntp.pm index 08f9db52..b2fcd7a6 100644 --- a/time_wizard/Ntp.pm +++ b/time_wizard/Ntp.pm @@ -27,7 +27,7 @@ use strict; use common; use services; use MDK::Wizard::Wizcommon; -use MDK::Wizard::Wizcommon_gtk2; +use MDK::Wizard::Wizcommon_gtk3; use timezone; my $wiz = new MDK::Wizard::Wizcommon; @@ -180,7 +180,7 @@ sub test { return 'end'; } my $command = "/usr/sbin/ntpdate -q $o->{var}{varserver1}"; # $o->{var}{varserver2}"; - my $_o = MDK::Wizard::Wizcommon_gtk2::gtk_log($command, "Test NTP server Responding..."); + my $_o = MDK::Wizard::Wizcommon_gtk3::gtk_log($command, "Test NTP server Responding..."); # system("/usr/sbin/ntpdate -q $o->{var}{varserver1} $o->{var}{varserver2}"); if (!($? >> 8)) { @@ -212,7 +212,7 @@ ARC=false substInFile { s/(# server clock.via.net)/$1\nserver $o->{var}{varserver1}/ } '/etc/ntp.conf' if -f '/etc/ntp.conf'; standalone::explanations("Wrote /etc/ntp/step-tickers, starting services"); my $command = "service crond stop; service atd stop; service ntpd stop; service ntpd start; service atd start; service crond start; /sbin/hwclock --systohc --utc"; - MDK::Wizard::Wizcommon_gtk2::gtk_log($command, "Configuring NTP, ATD and CROND services..."); + MDK::Wizard::Wizcommon_gtk3::gtk_log($command, "Configuring NTP, ATD and CROND services..."); } 1; |