diff options
author | Roy Marples <roy@marples.name> | 2007-04-26 11:24:07 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-04-26 11:24:07 +0000 |
commit | cf9aa106c615211abc642fc596c98a39d072dd5b (patch) | |
tree | 2ee926e25df8c9dbaab5b4b072d3a549b7ebb4c1 /sh.Linux | |
parent | 431e8cc84fe960ec91c3463493ce94df65ef41f2 (diff) |
Set fonts in init-early.sh, don't stop services twice when shutting down and lock prefixed output.
Diffstat (limited to 'sh.Linux')
-rw-r--r-- | sh.Linux/Makefile | 2 | ||||
-rwxr-xr-x | sh.Linux/init.sh | 9 |
2 files changed, 1 insertions, 10 deletions
diff --git a/sh.Linux/Makefile b/sh.Linux/Makefile index cd286002..446d624d 100644 --- a/sh.Linux/Makefile +++ b/sh.Linux/Makefile @@ -1,5 +1,5 @@ DIR = /$(LIB)/rcscripts/sh -EXES = init.sh +EXES = init.sh init-early.sh TOPDIR = .. include $(TOPDIR)/default.mk diff --git a/sh.Linux/init.sh b/sh.Linux/init.sh index b8be7237..6490c74f 100755 --- a/sh.Linux/init.sh +++ b/sh.Linux/init.sh @@ -86,15 +86,6 @@ get_KV() { return $? } -# Try and set a font as early as we can -termencoding="(K" -[ -e "${RC_LIBDIR}"/console/unicode ] && termencoding="%G" -printf "\033%s" "${termencoding}" >/dev/console -if [ -r "${RC_LIBDIR}"/console/font ] ; then - font="$(cat "${RC_LIBDIR}"/console/font)" - setfont -C /dev/console "${RC_LIBDIR}"/console/"${font}" -fi - . /etc/init.d/functions.sh . "${RC_LIBDIR}"/sh/init-functions.sh . "${RC_LIBDIR}"/sh/rc-functions.sh |