Thanks for the feedback @crispyoz but I just wrote a python script to monitor the button input on interval and then used uci calls through subprocess to turn wifi on and off. This gives me more capability and I suppose it's not that big of a deal to run a Python script on boot, I'm also flashing an LED through the Python script depending on whether wifi is on or not so it all worked out.
T
Best posts made by Travis Elliott
-
RE: Execute shell script on GPIO change