summaryrefslogtreecommitdiffstats
path: root/clock.pm
diff options
context:
space:
mode:
Diffstat (limited to 'clock.pm')
-rwxr-xr-xclock.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/clock.pm b/clock.pm
index adb5476e..393479bf 100755
--- a/clock.pm
+++ b/clock.pm
@@ -111,6 +111,7 @@ $button_ok->signal_connect ( clicked => sub {
$year . "." .
($sec<10 ? "0" : "") . $sec;
system($a);
+ -e '/sbin/hwclock' and system('/sbin/hwclock --systohc');
quit_global();
});
$bbox->add($button_ok );