Home | History | Annotate | Line # | Download | only in rc.d
      1 #!/bin/sh
      2 #
      3 # $NetBSD: hostapd,v 1.4 2008/11/12 12:35:52 ad Exp $
      4 #
      5 
      6 # PROVIDE: hostapd
      7 # REQUIRE: mountcritremote
      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