xref: /netbsd-src/etc/rc.d/altqd (revision 7d2e1537c589a0cc74bed5032035a0cf71b6c2c3)
101c28c7fSthorpej#!/bin/sh
201c28c7fSthorpej#
3*7d2e1537Smycroft# $NetBSD: altqd,v 1.4 2004/08/13 18:08:03 mycroft Exp $
401c28c7fSthorpej#
501c28c7fSthorpej
601c28c7fSthorpej# PROVIDE: altqd
7f70738daSlukem# REQUIRE: mountcritremote
8f70738daSlukem# BEFORE:  SERVERS
901c28c7fSthorpej# KEYWORD: shutdown
1001c28c7fSthorpej
11*7d2e1537Smycroft$_rc_subr_loaded . /etc/rc.subr
1201c28c7fSthorpej
1301c28c7fSthorpejname="altqd"
1401c28c7fSthorpejrcvar=$name
1501c28c7fSthorpejcommand="/usr/sbin/${name}"
1601c28c7fSthorpejpidfile="/var/run/${name}.pid"
1701c28c7fSthorpejrequired_files="/etc/altq.conf"
1801c28c7fSthorpejextra_commands="reload"
1901c28c7fSthorpej
2001c28c7fSthorpejload_rc_config $name
2101c28c7fSthorpejrun_rc_command "$1"
22