NetBSD/etc/rc.d/hostapd

18 lines
293 B
Bash
Executable File

#!/bin/sh
#
# $NetBSD: hostapd,v 1.2 2006/04/30 13:00:04 rpaulo Exp $
#
# PROVIDE: hostapd
# REQUIRE: mountall beforemountlkm
$_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"