1 #!/bin/sh 2 # 3 # $NetBSD: hostapd,v 1.1 2006/04/30 12:54:26 rpaulo Exp $ 4 # 5 6 # PROVIDE: hostapd 7 # REQUIRE: mountall beforemountlkm 8 9 $_rc_subr_loaded . /etc/rc.subr 10 11 name="hostapd" 12 rcvar=$name 13 command="/usr/sbin/hostapd" 14 required_files="/etc/hostapd.conf" 15 #pidfile="/var/run/hostapd.pid" 16 17 load_rc_config $name 18 run_rc_command "$1" 19