1 #!/bin/sh 2 # 3 # $NetBSD: wpa_supplicant,v 1.1.26.2 2013/06/09 11:01:41 msaitoh 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_cmd="/usr/sbin/wpa_cli reconfigure" 16 extra_commands="reload" 17 18 load_rc_config $name 19 run_rc_command "$1" 20