Diff for /src/etc/rc.d/moused between versions 1.2 and 1.3

version 1.2, 2004/01/27 00:42:45 version 1.3, 2004/05/12 01:48:40
Line 15  name=moused Line 15  name=moused
 rcvar=`set_rcvar`  rcvar=`set_rcvar`
 command="/usr/sbin/${name}"  command="/usr/sbin/${name}"
 start_cmd="moused_start"  start_cmd="moused_start"
   stop_cmd="moused_stop"
   sig_stop="-INT"
   
   # stdin must be redirected because it might be for a serial console
   #
   viddev=/dev/ttyv0
   
 moused_start()  moused_start()
 {  {
Line 31  moused_start() Line 37  moused_start()
                 ;;                  ;;
         esac          esac
   
        for ttyv in /dev/ttyv* ; do        vidcontrol < ${viddev} ${_mousechar_arg} -m on
                vidcontrol < ${ttyv} ${_mousechar_arg} -m on
        done 
         echo '.'          echo '.'
 }  }
   
   moused_stop()
   {
           pids="`check_process $command`"
           if [ -n "$pids" ]; then
                   for pid in $pids; do
                           kill $sig_stop $pid
                   done
           fi
   
           vidcontrol < ${viddev} -m off
   }
   
 load_rc_config $name  load_rc_config $name
 run_rc_command "$1"  run_rc_command "$1"

Removed from v.1.2  
changed lines
  Added in v.1.3