From 8363c6c595d8f1a3fdd6af8a4965b628d9ce4088 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 23 Sep 2007 14:46:39 +0200 Subject: Adding live-initramfs 1.91.3-1. --- scripts/live-bottom/02_timezone | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'scripts/live-bottom/02_timezone') diff --git a/scripts/live-bottom/02_timezone b/scripts/live-bottom/02_timezone index bafc426..10b634e 100755 --- a/scripts/live-bottom/02_timezone +++ b/scripts/live-bottom/02_timezone @@ -26,6 +26,20 @@ log_begin_msg "Setting timezone..." # live-initramfs script -cp -f /root/usr/share/zoneinfo/UTC /root/etc/localtime +if [ -n "${TIMEZONE}" ]; then + area="$(echo ${TIMEZONE} | cut -f1 -d '/')" + zone="$(echo ${TIMEZONE} | cut -f2 -d '/')" + chroot /root debconf-communicate -fnoninteractive live-initramfs > /dev/null < /dev/null <