aboutsummaryrefslogtreecommitdiff
path: root/init.d.Linux/clock
diff options
context:
space:
mode:
Diffstat (limited to 'init.d.Linux/clock')
-rwxr-xr-xinit.d.Linux/clock2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d.Linux/clock b/init.d.Linux/clock
index 5c891322..640de577 100755
--- a/init.d.Linux/clock
+++ b/init.d.Linux/clock
@@ -59,7 +59,7 @@ setupopts() {
# Make sure people set their timezone ... we do it here
# even though we don't actually use the variable so that
# people see the warning on boot.
- if [ "${TIMEZONE-Factory}" = "Factory" ] ; then
+ if [ -z "${CDBOOT}" -a "${TIMEZONE-Factory}" = "Factory" ] ; then
ewarn "Your TIMEZONE in /etc/conf.d/clock is still set to Factory!"
fi
}