Created
March 16, 2015 09:24
-
-
Save justsh/8412a69cb377dfd94be6 to your computer and use it in GitHub Desktop.
basic upstart script for wpa_supplicant. tested with edimax usb wifi adapter on rpi2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!upstart | |
description "automatically start wpa_supplicant daemon" | |
start on runlevel [2345] | |
stop on runlevel [016] | |
respawn | |
respawn limit 20 5 | |
expect fork | |
script | |
exec /sbin/wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf | |
end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment