Gill
Occasional Visitor
Hey Guys, I am a bit of a noob when it comes to scripting..and need your help and expertise please..I am running a script 'services-start' and it runs fine but whenever I do config change everything reverts to original. I see Merlin has wrote in wiki regarding this:
"services-start
After all other system services have been started at boot. This is the best place to stop one of these services, and restart it with a different configuration, for example (be aware that any time the service gets manually restarted it will revert back to the original setup however)."
Is there a way I can make sure the script runs or is running. I tried cron job to rerun the script like every 1 minute but its not working. so any help would be really appreciated. All I want is that I don't have to worry if the script is running or not.
cron job:
cru a Wifi_Check "*/1 * * * * /jffs/scripts/services-start.sh/"
Regards.
"services-start
After all other system services have been started at boot. This is the best place to stop one of these services, and restart it with a different configuration, for example (be aware that any time the service gets manually restarted it will revert back to the original setup however)."
Is there a way I can make sure the script runs or is running. I tried cron job to rerun the script like every 1 minute but its not working. so any help would be really appreciated. All I want is that I don't have to worry if the script is running or not.
cron job:
cru a Wifi_Check "*/1 * * * * /jffs/scripts/services-start.sh/"
Regards.