NetBSD/etc/rc.d/hostapd

18 lines
300 B
Bash
Executable File

#!/bin/sh
#
# $NetBSD: hostapd,v 1.3 2006/06/02 01:06:16 rpaulo Exp $
#
# PROVIDE: hostapd
# REQUIRE: mountcritremote 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"