Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/etc pull up rev 1.5:



details:   https://anonhg.NetBSD.org/src/rev/4d29132c6d3e
branches:  netbsd-1-5
changeset: 489204:4d29132c6d3e
user:      lukem <lukem%NetBSD.org@localhost>
date:      Wed Aug 23 11:35:15 2000 +0000

description:
pull up rev 1.5:
        move guts of etc/rc.wscons -> etc/rc.d/wscons
approved: thorpej

diffstat:

 etc/rc.wscons |  116 ----------------------------------------------------------
 1 files changed, 0 insertions(+), 116 deletions(-)

diffs (120 lines):

diff -r 260891e97eb8 -r 4d29132c6d3e etc/rc.wscons
--- a/etc/rc.wscons     Wed Aug 23 11:34:43 2000 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,116 +0,0 @@
-# $NetBSD: rc.wscons,v 1.4 1999/07/29 19:26:08 augustss Exp $
-
-wscfg=/usr/sbin/wsconscfg
-wsfld=/usr/sbin/wsfontload
-config=/etc/wscons.conf
-usage="Usage: wsconfig [-n] [-f configfile] [-font fontpgm] [-screen screenpgm]"
-DOIT=
-
-while [ $# -gt 0 ]; do
-       case $1 in
-               -n)
-                       DOIT=echo
-                       ;;
-               -f)
-                       config=$2
-                       shift
-                       ;;
-               -font)
-                       wsfld=$2
-                       shift
-                       ;;
-               -screen)
-                       wscfg=$2
-                       shift
-                       ;;
-               *)
-                       echo $usage
-                       exit 1
-                       ;;
-       esac
-       shift
-done
-
-
-# args mean:
-#      screen idx scr emul
-#      font   name width height enc file
-( while read type arg1 arg2 arg3 arg4 arg5; do
-       case "$type" in
-               \#*|"")
-                       continue
-                       ;;
-               font)
-                       name=$arg1
-                       width=$arg2
-                       height=$arg3
-                       enc=$arg4
-                       file=$arg5
-                       cmd=$wsfld
-
-                       case $width in
-                               -)
-                                       ;;
-                               *)
-                                       cmd="$cmd -w $width"
-                                       ;;
-                       esac
-                       case $height in
-                               -)
-                                       ;;
-                               *)
-                                       cmd="$cmd -h $height"
-                                       ;;
-                       esac
-                       case $enc in
-                               -)
-                                       ;;
-                               *)
-                                       cmd="$cmd -e $enc"
-                                       ;;
-                       esac
-                       cmd="$cmd -N $name $file"
-                       eval $DOIT $cmd
-                       ;;
-               screen)
-                       idx=$arg1
-                       scr=$arg2
-                       emul=$arg3
-                       cmd=$wscfg
-
-                       case $scr in
-                               -)
-                                       ;;
-                               *)
-                                       cmd="$cmd -t $scr"
-                                       ;;
-                       esac
-                       case $emul in
-                               -)
-                                       ;;
-                               *)
-                                       cmd="$cmd -e $emul"
-                                       ;;
-                       esac
-                       cmd="$cmd $idx"
-                       eval $DOIT $cmd
-                       ;;
-               keyboard)
-                       kbd=$arg1
-                       cmd=$wscfg
-                       case $kbd in
-                               -|auto)
-                                       cmd="$cmd -k"
-                                       ;;
-                               *)
-                                       cmd="$cmd -k $kbd"
-                                       ;;
-                       esac
-                       eval $DOIT $cmd
-                       ;;
-               mux)
-                       cmd="$wscfg -m $arg1"
-                       eval $DOIT $cmd
-                       ;;
-       esac
-done ) < $config



Home | Main Index | Thread Index | Old Index