projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Adding live-initramfs 1.91.6-1.
[live-boot-grml.git]
/
scripts
/
live-bottom
/
02_timezone
diff --git
a/scripts/live-bottom/02_timezone
b/scripts/live-bottom/02_timezone
index
10b634e
..
dad3cad
100755
(executable)
--- a/
scripts/live-bottom/02_timezone
+++ b/
scripts/live-bottom/02_timezone
@@
-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