From b8ece7f7be983ba2dfd35394033450b9717f5086 Mon Sep 17 00:00:00 2001 From: Mikhail Efremov Date: Tue, 26 Jun 2012 20:12:03 +0400 Subject: [PATCH] slinux/xfce: Added local-time hook. Set system time to local time. --- features.in/slinux/live/image-scripts.d/30-local-time | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 features.in/slinux/live/image-scripts.d/30-local-time diff --git a/features.in/slinux/live/image-scripts.d/30-local-time b/features.in/slinux/live/image-scripts.d/30-local-time new file mode 100755 index 00000000..d798643f --- /dev/null +++ b/features.in/slinux/live/image-scripts.d/30-local-time @@ -0,0 +1,5 @@ +#!/bin/bash +# Set system time to local time. + +CONFIG="/etc/sysconfig/clock" +sed -i 's/^UTC=true/UTC=false/' "$CONFIG"