20 lines
384 B
Bash
20 lines
384 B
Bash
#!/bin/sh
|
|
#
|
|
# $NetBSD: wpa_supplicant,v 1.2 2008/11/17 11:34:04 abs Exp $
|
|
#
|
|
|
|
# PROVIDE: wpa_supplicant
|
|
# REQUIRE: network mountcritlocal
|
|
# BEFORE: NETWORKING dhclient
|
|
|
|
$_rc_subr_loaded . /etc/rc.subr
|
|
|
|
name="wpa_supplicant"
|
|
rcvar=$name
|
|
command="/usr/sbin/wpa_supplicant"
|
|
reload_command="/usr/sbin/wpa_cli reconfigure"
|
|
extra_commands="reload"
|
|
|
|
load_rc_config $name
|
|
run_rc_command "$1"
|