This commit was manufactured by cvs2svn to create branch 'NETBSD'.

This commit is contained in:
cvs2svn 2002-06-13 22:14:38 +00:00
parent b1ea4d6a24
commit bf98eb7293
3 changed files with 81 additions and 0 deletions

12
etc/rc.d/NETWORKING Normal file
View File

@ -0,0 +1,12 @@
#!/bin/sh
#
# $NetBSD: NETWORKING,v 1.2 2002/03/22 04:33:57 thorpej Exp $
# $FreeBSD$
#
# PROVIDE: NETWORKING NETWORK
# REQUIRE: network dhclient altqd network1 network2 network_ipv6 ppp-user
# KEYWORD: FreeBSD NetBSD
# This is a dummy dependancy, for services which require networking
# to be operational before starting.

22
etc/rc.d/altqd Normal file
View File

@ -0,0 +1,22 @@
#!/bin/sh
#
# $NetBSD: altqd,v 1.2 2002/03/22 04:33:58 thorpej Exp $
# $FreeBSD$
#
# PROVIDE: altqd
# REQUIRE: network mountcritlocal dhclient
# BEFORE: NETWORKING
# KEYWORD: shutdown
. /etc/rc.subr
name="altqd"
rcvar=$name
command="/usr/sbin/${name}"
pidfile="/var/run/${name}.pid"
required_files="/etc/altq.conf"
extra_commands="reload"
load_rc_config $name
run_rc_command "$1"

47
etc/rc.d/moused Normal file
View File

@ -0,0 +1,47 @@
#!/bin/sh
#
# $NetBSD: moused,v 1.1 2001/10/29 23:25:01 augustss Exp $
# $FreeBSD$
#
# PROVIDE: moused
# REQUIRE: DAEMON
# KEYWORD: FreeBSD NetBSD
. /etc/rc.subr
name=moused
rcvar=`set_rcvar`
case `${CMD_OSTYPE}` in
FreeBSD)
start_cmd="moused_start"
;;
NetBSD)
command="/usr/sbin/${name}"
;;
esac
moused_start()
{
echo -n 'Starting moused:'
/usr/sbin/moused ${moused_flags} -p ${moused_port} -t ${moused_type}
_mousechar_arg=
case ${mousechar_start} in
[Nn][Oo] | '')
;;
*)
echo -n ' mousechar_start'
_mousechar_arg="-M ${mousechar_start}"
;;
esac
for ttyv in /dev/ttyv* ; do
vidcontrol < ${ttyv} ${_mousechar_arg} -m on
done
echo '.'
}
load_rc_config $name
run_rc_command "$1"