projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44e721c
)
* check if we can find the debian systems TZ setting.
author
Wilfried Göesgens
<willi@citadel.org>
Tue, 23 Oct 2007 21:18:57 +0000
(21:18 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Tue, 23 Oct 2007 21:18:57 +0000
(21:18 +0000)
webcit/debian/webcit.init
patch
|
blob
|
history
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
#