summaryrefslogtreecommitdiffstats
path: root/perl-install/timezone.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/timezone.pm')
-rw-r--r--perl-install/timezone.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/timezone.pm b/perl-install/timezone.pm
index 4fbc36862..e5750fd6e 100644
--- a/perl-install/timezone.pm
+++ b/perl-install/timezone.pm
@@ -64,7 +64,9 @@ sub write {
sub reload_sys_clock {
my ($t) = @_;
require run_program;
+ any::disable_x_screensaver();
run_program::run('hwclock', '--hctosys', ($t->{UTC} ? '--utc' : '--localtime'));
+ any::enable_x_screensaver();
}
#- best guesses for a given country