J jeden Regular Contributor May 17, 2021 #1 I assumed that by having the "Enable JFFS custom scripts and configs" option enabled, the "/jffs/scripts/services-start" file would be executed on boot, but it's not. How do I execute a script on boot?
I assumed that by having the "Enable JFFS custom scripts and configs" option enabled, the "/jffs/scripts/services-start" file would be executed on boot, but it's not. How do I execute a script on boot?
dave14305 Part of the Furniture May 17, 2021 #2 Make sure the script itself is executable, and the first line is #!/bin/sh Code: chmod u+x /jffs/scripts/services-start
Make sure the script itself is executable, and the first line is #!/bin/sh Code: chmod u+x /jffs/scripts/services-start
Hazel Senior Member May 17, 2021 #4 Useful info when getting started with user scripts: https://github.com/RMerl/asuswrt-merlin.ng/wiki/User-scripts
Useful info when getting started with user scripts: https://github.com/RMerl/asuswrt-merlin.ng/wiki/User-scripts