3 # $NetBSD: wscons,v 1.13 2011/08/09 08:08:10 mbalmer Exp $
7 # REQUIRE: mountcritremote
10 $_rc_subr_loaded .
/etc
/rc.subr
14 start_cmd
="wscons_start"
19 wscfg
=/usr
/sbin
/wsconscfg
20 wsfld
=/usr
/sbin
/wsfontload
22 config
=/etc
/wscons.conf
23 usage
="Usage: wsconfig [-n] [-f configfile] [-font fontpgm] [-screen screenpgm]"
26 while [ $# -gt 0 ]; do
54 # font name width height enc file
55 ( while read type arg1 arg2 arg3 arg4 arg5
; do
90 cmd
="$cmd -N $name $file"
134 cmd
="$wsctl -w \"encoding=$map\""
141 ( while read entry
; do
147 cmd
="$wsctl -w \"map+=$entry\""
148 cmd
="$cmd >/dev/null"
156 cmd
="$wscfg -m $arg1"
177 cmd
="$wsctl -f /dev/$dev $cmdmod -w $var=$val"