summaryrefslogtreecommitdiff
path: root/etc/rc.d/hostapd
blob: d5bdb69d146a8bbe74fd51b5880caca90a1e8557 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
#
# $NetBSD: hostapd,v 1.4 2008/11/12 12:35:52 ad Exp $
#

# PROVIDE: hostapd
# REQUIRE: mountcritremote

$_rc_subr_loaded . /etc/rc.subr

name="hostapd"
rcvar=$name
command="/usr/sbin/hostapd"
required_files="/etc/hostapd.conf"

load_rc_config $name
run_rc_command "$1"