2000-03-10 14:53:23 +03:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2000-05-13 12:45:06 +04:00
|
|
|
# $NetBSD: wscons,v 1.3 2000/05/13 08:45:10 lukem Exp $
|
2000-03-10 14:53:23 +03:00
|
|
|
#
|
|
|
|
|
|
|
|
# PROVIDE: wscons
|
|
|
|
# REQUIRE: systemfs
|
|
|
|
|
|
|
|
. /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"
|