summaryrefslogtreecommitdiff
path: root/sh.Linux
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-04-26 11:24:07 +0000
committerRoy Marples <roy@marples.name>2007-04-26 11:24:07 +0000
commitcf9aa106c615211abc642fc596c98a39d072dd5b (patch)
tree2ee926e25df8c9dbaab5b4b072d3a549b7ebb4c1 /sh.Linux
parent431e8cc84fe960ec91c3463493ce94df65ef41f2 (diff)
downloadopenrc-cf9aa106c615211abc642fc596c98a39d072dd5b.tar.gz
openrc-cf9aa106c615211abc642fc596c98a39d072dd5b.tar.bz2
openrc-cf9aa106c615211abc642fc596c98a39d072dd5b.tar.xz
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/Makefile2
-rwxr-xr-xsh.Linux/init.sh9
2 files changed, 1 insertions, 10 deletions
diff --git a/sh.Linux/Makefile b/sh.Linux/Makefile
index cd28600..446d624 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 b8be723..6490c74 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