From 17f430c0b911ef243599b0dc7388b166d5365539 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 25 Sep 2007 15:55:47 +0000 Subject: Skip consolefont setup when RC_TTY_NUMBER is set to 0. --- ChangeLog | 4 ++++ init.d.Linux/consolefont | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 92aaa489..28b85513 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for Gentoo System Intialization ("rc") scripts # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPLv2 + 25 Sep 2007; Mike Frysinger : + + Skip consolefont setup when RC_TTY_NUMBER is set to 0. + 24 Sep 2007; Mike Frysinger : Do not require portmap in netmount when nolock option is used with nfs diff --git a/init.d.Linux/consolefont b/init.d.Linux/consolefont index 01f4d039..d7c72bec 100755 --- a/init.d.Linux/consolefont +++ b/init.d.Linux/consolefont @@ -24,6 +24,12 @@ start() { return 0 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 # Get additional parameters -- cgit v1.2.3