Home | History | Annotate | Line # | Download | only in rc.d
wscons revision 1.3
      1  1.1  lukem #!/bin/sh
      2  1.1  lukem #
      3  1.3  lukem # $NetBSD: wscons,v 1.3 2000/05/13 08:45:10 lukem Exp $
      4  1.1  lukem #
      5  1.1  lukem 
      6  1.1  lukem # PROVIDE: wscons
      7  1.1  lukem # REQUIRE: systemfs
      8  1.1  lukem 
      9  1.1  lukem . /etc/rc.subr
     10  1.1  lukem 
     11  1.1  lukem name="wscons"
     12  1.2  veego start_precmd="checkyesno wscons"
     13  1.2  veego start_cmd="do_wscons"
     14  1.2  veego stop_cmd=":"
     15  1.1  lukem 
     16  1.1  lukem do_wscons()
     17  1.1  lukem {
     18  1.1  lukem 	if [ -f /etc/rc.wscons ]; then
     19  1.2  veego 		. /etc/rc.wscons
     20  1.1  lukem 	fi
     21  1.1  lukem }
     22  1.1  lukem 
     23  1.3  lukem load_rc_config $name
     24  1.1  lukem run_rc_command "$1"
     25