2000-03-10 14:53:23 +03:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2000-07-26 04:11:48 +04:00
|
|
|
# $NetBSD: wscons,v 1.4 2000/07/26 00:11:49 lukem Exp $
|
2000-03-10 14:53:23 +03:00
|
|
|
#
|
|
|
|
|
|
|
|
# PROVIDE: wscons
|
2000-07-26 04:11:48 +04:00
|
|
|
# REQUIRE: mountcritremote
|
2000-03-10 14:53:23 +03:00
|
|
|
|
|
|
|
. /etc/rc.subr
|
|
|
|
|
|
|
|
name="wscons"
|
2000-03-11 23:11:16 +03:00
|
|
|
start_precmd="checkyesno wscons"
|
|
|
|
start_cmd="do_wscons"
|
|
|
|
stop_cmd=":"
|
2000-03-10 14:53:23 +03:00
|
|
|
|
|
|
|
do_wscons()
|
|
|
|
{
|
|
|
|
if [ -f /etc/rc.wscons ]; then
|
2000-03-11 23:11:16 +03:00
|
|
|
. /etc/rc.wscons
|
2000-03-10 14:53:23 +03:00
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
2000-05-13 12:45:06 +04:00
|
|
|
load_rc_config $name
|
2000-03-10 14:53:23 +03:00
|
|
|
run_rc_command "$1"
|