Don't warn about Factory clock when booting off of livecd.

This commit is contained in:
Mike Frysinger 2007-05-31 05:51:00 +00:00
parent 27344f7f27
commit 230e3f2afe
2 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,10 @@
# ChangeLog for Gentoo System Intialization ("rc") scripts
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPLv2
31 May 2007; Mike Frysinger <vapier@gentoo.org>:
Don't warn about Factory clock when booting off of livecd.
30 May 2007; Roy Marples <uberlord@gentoo.org>:
Only call systohw in clock when we don't have adjfile or we aren't UTC.

View File

@ -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
}