1 #!/bin/sh 2 # 3 # $NetBSD: altqd,v 1.4 2004/08/13 18:08:03 mycroft Exp $ 4 # 5 6 # PROVIDE: altqd 7 # REQUIRE: mountcritremote 8 # BEFORE: SERVERS 9 # KEYWORD: shutdown 10 11 $_rc_subr_loaded . /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