From d3bc7a6bc9e797078e34a8ca14af03dc7ff3b5b0 Mon Sep 17 00:00:00 2001
From: OSAK Buildhauer <osak@fsmpi.rwth-aachen.de>
Date: Thu, 5 Apr 2018 19:29:34 +0000
Subject: [PATCH] ask for setting hw clock to local time

---
 scripts/linuxparty.sh | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/scripts/linuxparty.sh b/scripts/linuxparty.sh
index 0db02cc..cb5785e 100644
--- a/scripts/linuxparty.sh
+++ b/scripts/linuxparty.sh
@@ -490,6 +490,13 @@ then
   $DEBUG ufw enable
 fi
 
+# set hw clock to non-utc (because of windows)
+if askyesno "System: Soll die Harware-Uhr lokale Zeit statt UTC verwenden ?"
+then
+  $DEBUG timedatectl set-local-rtc 1
+fi
+
+
 echo "Installation:"
 echo "Programme, die für alle Fachrichtungen interressant sind (7zip, gimp, git, ... )"
 if [ -z "$NOGUI" ] || (askyesno "Sollen diese Programme installiert werden ?"); then
-- 
GitLab