summaryrefslogtreecommitdiffstats
path: root/time_wizard
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-18 15:40:11 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-28 15:39:50 +0100
commit7e92a121aebff4a3b99f7cbd2cadeb9d492e243e (patch)
treee1990ebd5624478aa97f8129479b01c1b663b1b6 /time_wizard
parent19fb795c5ca2f2780d1850e257124e39ee970e63 (diff)
downloaddrakwizard-7e92a121aebff4a3b99f7cbd2cadeb9d492e243e.tar
drakwizard-7e92a121aebff4a3b99f7cbd2cadeb9d492e243e.tar.gz
drakwizard-7e92a121aebff4a3b99f7cbd2cadeb9d492e243e.tar.bz2
drakwizard-7e92a121aebff4a3b99f7cbd2cadeb9d492e243e.tar.xz
drakwizard-7e92a121aebff4a3b99f7cbd2cadeb9d492e243e.zip
use (my|u)gtk3 instead of *tk2
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 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;