projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* check if we can find the debian systems TZ setting.
[citadel.git]
/
webcit
/
debian
/
webcit.init
diff --git
a/webcit/debian/webcit.init
b/webcit/debian/webcit.init
index 4d73c83aa7ecb769c8cc575ba62a694fe52c5696..ffceaa0d02d614da59fbbfe8294b78a9f8bf806d 100644
(file)
--- 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
#