Move the shell code to check for RC_SYS to the keywords dependency.
This commit is contained in:
@@ -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}}
|
||||
|
||||
Reference in New Issue
Block a user