summaryrefslogtreecommitdiff
path: root/util/configure_timezone.sh
diff options
context:
space:
mode:
Diffstat (limited to 'util/configure_timezone.sh')
-rw-r--r--util/configure_timezone.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/util/configure_timezone.sh b/util/configure_timezone.sh
index f567832..fce6d99 100644
--- a/util/configure_timezone.sh
+++ b/util/configure_timezone.sh
@@ -18,6 +18,10 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
-ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime
+timezone=$1 # e.g. /usr/share/zoneinfo/Europe/Berlin
+
+
+ln -sf $timezone /etc/localtime
hwclock --systohc
+
echo "Configured timezone - OK"