Skip consolefont setup when RC_TTY_NUMBER is set to 0.

This commit is contained in:
Mike Frysinger 2007-09-25 15:55:47 +00:00
parent 1e4e8ed27a
commit 17f430c0b9
2 changed files with 10 additions and 0 deletions

View File

@ -1,6 +1,10 @@
# ChangeLog for Gentoo System Intialization ("rc") scripts # ChangeLog for Gentoo System Intialization ("rc") scripts
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPLv2 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPLv2
25 Sep 2007; Mike Frysinger <vapier@gentoo.org>:
Skip consolefont setup when RC_TTY_NUMBER is set to 0.
24 Sep 2007; Mike Frysinger <vapier@gentoo.org>: 24 Sep 2007; Mike Frysinger <vapier@gentoo.org>:
Do not require portmap in netmount when nolock option is used with nfs Do not require portmap in netmount when nolock option is used with nfs

View File

@ -24,6 +24,12 @@ start() {
return 0 return 0
fi fi
if [ ${RC_TTY_NUMBER} -eq 0 ] ; then
ebegin "Skipping font setup (RC_TTY_NUMBER == 0); you should disable this init.d"
eend 0
return 0
fi
local x= param= sf_param= retval=1 local x= param= sf_param= retval=1
# Get additional parameters # Get additional parameters