2006-10-08 00:52:52 +04:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2008-11-17 14:34:04 +03:00
|
|
|
# $NetBSD: wpa_supplicant,v 1.2 2008/11/17 11:34:04 abs Exp $
|
2006-10-08 00:52:52 +04:00
|
|
|
#
|
|
|
|
|
|
|
|
# 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"
|
2008-11-17 14:34:04 +03:00
|
|
|
reload_command="/usr/sbin/wpa_cli reconfigure"
|
|
|
|
extra_commands="reload"
|
2006-10-08 00:52:52 +04:00
|
|
|
|
|
|
|
load_rc_config $name
|
|
|
|
run_rc_command "$1"
|