Skip to content

Instantly share code, notes, and snippets.

@civita
Created September 3, 2017 23:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save civita/085ef2399cbe73067d712b0156cd15b9 to your computer and use it in GitHub Desktop.
Save civita/085ef2399cbe73067d712b0156cd15b9 to your computer and use it in GitHub Desktop.
#!/bin/sh /etc/rc.common
START=50
STOP=15
start() {
sleep 20
wpa_supplicant -i eth0 -D wired -c PathToYourConfigFile -dd -t -B
sleep 5
}
stop() {
killall wpa_supplicant
sleep 2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment