1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
For now we just use this script to service USB keyboard events
(see devd.conf).
In the future we could add an init.d script to handle startup
settings, etc.
--- a/src/etc/rc.d/syscons
+++ b/src/etc/rc.d/syscons
@@ -31,8 +31,6 @@
# REQUIRE: LOGIN
# KEYWORD: nojail
-. /etc/rc.subr
-
name="syscons"
extra_commands="setkeyboard"
setkeyboard_cmd="syscons_setkeyboard"
@@ -369,6 +367,9 @@
fi
}
-load_rc_config $name
-run_rc_command $*
-
+case "$1" in
+ setkeyboard)
+ shift
+ syscons_setkeyboard $*
+ ;;
+esac
|