X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F02_timezone;h=dad3cadcb9bbed7b112ff70d7fee2a332a683710;hb=7c815f70054a82bfccf992d9b20d4d56b60f46cc;hp=10b634e0ab3119b8f94377f2cb769a89a462073d;hpb=49c4c42b43b83bbc2c67761e0040c1e397568f9f;p=live-boot-grml.git diff --git a/scripts/live-bottom/02_timezone b/scripts/live-bottom/02_timezone index 10b634e..dad3cad 100755 --- 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