Posted: Tue Jul 21, 2020 0:45 Post subject: Force re-scan of script directories
I've got a Netgear R6250 running build 43381 (06/10/20).
I cannot seem to find a build that doesn't have certain flaws. So, I've settled on this build and elected to script my way around the flaws. At any rate, my current issue is that the virtual AP dies whenever I apply any config changes in the gui. I discovered that I can get it going again by restarting 'wlconf'.
Consequently, I decided to write a script that would restart wlconf on wanup. If I enable jffs and put it in /jffs/etc/config, all is good. However, if I create the script in /tmp/etc/config by means of the following startup command:
it doesn't execute on wanup. I've verified that the script exists and works upon manual execution. (I have my reasons why I'd prefer the startup command vs utilizing JFFS, but I'd prefer not to get into that here.)
My suspicion is that the failure results from the firmware scaning the four script directories before the script is created via the startup command.
Does anyone know if it's possible to force a rescan of these script directories?