Posted: Wed May 16, 2018 17:23 Post subject: Permanently store script in /etc/config for WIFI SES/WPS
Hello folks,
I need your help for my little project.
I wrote a script to turn/toggle on/off wifi on my WRT3200ACM. The script is working until I store it in a folder the system is reading while pressing the SES/AOSS/EZ-SETUP button (the system will look for ".sesbutton" files).
Folders as follows:
/etc/config/
/jffs/etc/config/
/mmc/etc/config/
/tmp/etc/config/
The only folder I can write into/have permissions to write is tmp folder. Since this is a temporary folder the script will be deleted after every reboot.
Did anyone has an idea how to write into the /etc/config or any other of the mentioned folders?