Adding live-initramfs 1.91.6-1.
[live-boot-grml.git] / scripts / live-bottom / 02_timezone
index 10b634e..dad3cad 100755 (executable)
@@ -40,6 +40,11 @@ set tzdata/Areas Etc
 set tzdata/Zones/Etc UTC
 EOF
     cp -f /root/usr/share/zoneinfo/UTC /root/etc/localtime
-fi   
+fi
+
+if [ -n "${UTC}" ]
+then
+       sed -i -e "s/UTC=.*/UTC=${UTC}/" /root/etc/default/rcS
+fi
 
 log_end_msg