NetBSD/etc/rc.d/hostapd

18 lines
281 B
Bash
Executable File

#!/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"