trusk New Around Here Jan 11, 2016 #1 So I've created a script in /jffs/scripts/persistance.sh It's executable, it runs. How do I get it to run every time the device boots? And do I need to create a start/stop/restart script to stop it at restart?
So I've created a script in /jffs/scripts/persistance.sh It's executable, it runs. How do I get it to run every time the device boots? And do I need to create a start/stop/restart script to stop it at restart?
Calisro Senior Member Jan 11, 2016 #2 It depends on when you want it to run at boot. Just add a line to /jffs/scripts/services-start for example to run during that stage. echo "/jffs/scripts/persistance.sh" >> /jffs/scripts/services-start Use this reference: https://github.com/RMerl/asuswrt-merlin/wiki/User-scripts
It depends on when you want it to run at boot. Just add a line to /jffs/scripts/services-start for example to run during that stage. echo "/jffs/scripts/persistance.sh" >> /jffs/scripts/services-start Use this reference: https://github.com/RMerl/asuswrt-merlin/wiki/User-scripts