Home | History | Annotate | Line # | Download | only in rc.d
hostapd revision 1.2
      1 #!/bin/sh
      2 #
      3 # $NetBSD: hostapd,v 1.2 2006/04/30 13:00:04 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 
     16 load_rc_config $name
     17 run_rc_command "$1"
     18