3 # $NetBSD: wscons,v 1.11 2005/12/13 21:46:47 peter 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\""
140 ( while read entry
; do
146 cmd
="$wsctl -w \"map+=$entry\""
147 cmd
="$cmd >/dev/null"
155 cmd
="$wscfg -m $arg1"
176 cmd
="$wsctl -f /dev/$dev $cmdmod -w $var=$val"