Add a startup script for altqd(8).
This commit is contained in:
parent
62b732f7ac
commit
01c28c7f10
|
@ -1,8 +1,8 @@
|
|||
# $NetBSD: Makefile,v 1.18 2001/04/05 17:04:03 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.19 2001/04/05 23:54:59 thorpej Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
FILES= DAEMON LOGIN NETWORK SERVERS accounting amd apmd bootparams \
|
||||
FILES= DAEMON LOGIN NETWORK SERVERS accounting altqd amd apmd bootparams \
|
||||
bootconf.sh ccd cleartmp cron dhclient dhcpd dhcrelay dmesg \
|
||||
fsck inetd ipfilter ipmon ipnat ipsec isdnd kdc ldconfig \
|
||||
lkm1 lkm2 lkm3 local lpd mopd motd mountall mountcritlocal \
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# $NetBSD: NETWORK,v 1.1 2000/07/26 00:11:49 lukem Exp $
|
||||
# $NetBSD: NETWORK,v 1.2 2001/04/05 23:55:00 thorpej Exp $
|
||||
#
|
||||
|
||||
# PROVIDE: NETWORK
|
||||
# REQUIRE: network dhclient
|
||||
# REQUIRE: network dhclient altqd
|
||||
|
||||
# This is a dummy dependancy, for services which require networking
|
||||
# to be operational before starting.
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# $NetBSD: altqd,v 1.1 2001/04/05 23:55:00 thorpej Exp $
|
||||
#
|
||||
|
||||
# PROVIDE: altqd
|
||||
# REQUIRE: network mountcritlocal dhclient
|
||||
# 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"
|
Loading…
Reference in New Issue