Move the shell code to check for RC_SYS to the keywords dependency.

This commit is contained in:
Roy Marples
2008-02-19 14:29:20 +00:00
parent 0364bb2c84
commit 42bfd7b6dc
6 changed files with 23 additions and 30 deletions

View File

@@ -9,6 +9,7 @@ depend()
need localmount
need keymaps # sets up terminal encoding scheme
after hotplug
keywords nouml novps noxenu
}
start()
@@ -16,13 +17,6 @@ start()
# Forget about any font until we are successful
rm -rf "${RC_LIBDIR}"/console
case "${RC_SYS}" in
UML|VPS|XENU)
ewarn "Not loading consolefont for ${RC_SYS} systems"
return 0
;;
esac
ttyn=${rc_tty_number:-${RC_TTY_NUMBER:-12}}
consolefont=${consolefont:-${CONSOLEFONT}}
unicodemap=${unicodemap:-${UNICODEMAP}}