From 0208ecb9741d8f0f38e8df93aa96fe910e60fe3d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Tue, 23 Oct 2007 21:18:57 +0000 Subject: [PATCH] * check if we can find the debian systems TZ setting. --- webcit/debian/webcit.init | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/webcit/debian/webcit.init b/webcit/debian/webcit.init index 4d73c83aa..ffceaa0d0 100644 --- a/webcit/debian/webcit.init +++ b/webcit/debian/webcit.init @@ -53,6 +53,12 @@ if test -f $DEFAULT; then . $DEFAULT fi +if test -z "$TZ"; then + if test -e /etc/timezone; then + TZ=`cat /etc/timezone` + export TZ + fi +fi # # Function that starts the daemon/service # -- 2.30.2