aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-11-21 15:44:01 +0000
committerRoy Marples <roy@marples.name>2007-11-21 15:44:01 +0000
commit872a31b2158ee65ad07e6ba04e366624af2d0fa5 (patch)
tree1045c0e9d9e6a4b9c52dc28d6f5e40dd632474df
parent2238faff286733f67160c95ecbf15ba2b5b8a727 (diff)
Don't warn about timezone, it's not for us to do so
-rwxr-xr-xinit.d.BSD/clock4
-rwxr-xr-xinit.d.Linux/clock7
2 files changed, 0 insertions, 11 deletions
diff --git a/init.d.BSD/clock b/init.d.BSD/clock
index 26f893ae..99e92733 100755
--- a/init.d.BSD/clock
+++ b/init.d.BSD/clock
@@ -38,10 +38,6 @@ depend() {
}
start() {
- if [ "${TIMEZONE-Factory}" = "Factory" ] ; then
- ewarn "Your TIMEZONE in /etc/conf.d/clock is still set to Factory!"
- fi
-
local TBLURB="Local Time"
[ "${CLOCK}" = "UTC" ] && TBLURB="UTC"
ebegin "Starting the System Clock Adjuster [${TBLURB}]"
diff --git a/init.d.Linux/clock b/init.d.Linux/clock
index 55d706dc..8c20b38e 100755
--- a/init.d.Linux/clock
+++ b/init.d.Linux/clock
@@ -70,13 +70,6 @@ setupopts() {
[ -n "$(unset CLOCK; . /etc/rc.conf; echo "${CLOCK}")" ] ; then
ewarn "CLOCK should not be set in /etc/rc.conf but in /etc/conf.d/clock"
fi
-
- # 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 [ -z "${CDBOOT}" -a "${TIMEZONE-Factory}" = "Factory" ] ; then
- ewarn "Your TIMEZONE in /etc/conf.d/clock is still set to Factory!"
- fi
}
start() {