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