Created
June 17, 2016 01:19
-
-
Save codenuke/27fa78bb2cd6d0b5374cfa26b99b50ac to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/bin/sh /etc/rc.common | |
START=10 | |
start() | |
{ | |
uci set wireless.sta.disabled='0' | |
uci commit | |
/etc/init.d/network restart | |
sleep 30 | |
uci set wireless.sta.disabled='1' | |
uci commit | |
} |
Author
codenuke
commented
Jun 17, 2016
- create script at /etc/init.d/staap
- chmod +x /etc/init.d/staap
- enable script on start => /etc/init.d/staap enable
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment