1 #!/bin/sh 2 # 3 # $NetBSD: wpa_supplicant,v 1.2 2008/11/17 11:34:04 abs Exp $ 4 # 5 6 # PROVIDE: wpa_supplicant 7 # REQUIRE: network mountcritlocal 8 # BEFORE: NETWORKING dhclient 9 10 $_rc_subr_loaded . /etc/rc.subr 11 12 name="wpa_supplicant" 13 rcvar=$name 14 command="/usr/sbin/wpa_supplicant" 15 reload_command="/usr/sbin/wpa_cli reconfigure" 16 extra_commands="reload" 17 18 load_rc_config $name 19 run_rc_command "$1" 20