diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-12-04 09:40:14 -0800 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-12-04 09:40:14 -0800 |
commit | af3ac0dc954d96855555aa8cb12633494d465a77 (patch) | |
tree | 84b53e7a133878bf641c66012db36b9de9c593da /functions | |
parent | 9ac428a113d5dee2b4d5469fdfdb383eda90d4c6 (diff) | |
download | initscripts-af3ac0dc954d96855555aa8cb12633494d465a77.tar.xz |
unset the TZ envvar in 'functions'
This prevents a local TZ variable from breaking
daemon's when started by root. Daemon's should always
respect the system's /etc/localtime
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -36,6 +36,9 @@ else fi unset TERM_COLORS +# clear the TZ envvar, so daemons always respect /etc/localtime +unset TZ + # colors: if [ "$USECOLOR" = "YES" -o "$USECOLOR" = "yes" ]; then C_MAIN="\033[1;37;40m" # main text |