From 872a31b2158ee65ad07e6ba04e366624af2d0fa5 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 21 Nov 2007 15:44:01 +0000 Subject: [PATCH] Don't warn about timezone, it's not for us to do so --- init.d.BSD/clock | 4 ---- init.d.Linux/clock | 7 ------- 2 files changed, 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() {