1 #!/bin/sh 2 # 3 # $NetBSD: altqd,v 1.3 2003/03/10 18:17:06 lukem Exp $ 4 # 5 6 # PROVIDE: altqd 7 # REQUIRE: mountcritremote 8 # BEFORE: SERVERS 9 # KEYWORD: shutdown 10 11 . /etc/rc.subr 12 13 name="altqd" 14 rcvar=$name 15 command="/usr/sbin/${name}" 16 pidfile="/var/run/${name}.pid" 17 required_files="/etc/altq.conf" 18 extra_commands="reload" 19 20 load_rc_config $name 21 run_rc_command "$1" 22