summaryrefslogtreecommitdiff
path: root/init.d.Linux
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-05-31 05:51:00 +0000
committerMike Frysinger <vapier@gentoo.org>2007-05-31 05:51:00 +0000
commit230e3f2afe9470980e42e211af9192645d1cd088 (patch)
treedaaccccc2f3f1cc80796ce889305fd359a603381 /init.d.Linux
parent27344f7f27efc2ffa010f97377da7adc39e396c6 (diff)
downloadopenrc-230e3f2afe9470980e42e211af9192645d1cd088.tar.gz
openrc-230e3f2afe9470980e42e211af9192645d1cd088.tar.bz2
openrc-230e3f2afe9470980e42e211af9192645d1cd088.tar.xz
Don't warn about Factory clock when booting off of livecd.
Diffstat (limited to 'init.d.Linux')
-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 5c89132..640de57 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
}