I thought I knew this one, but with Busybox and the limitations inside this environment, well I guess I need help
I have a script: /jffs/scripts/CheckIfHome
Now I start it in services-start with: source /jffs/scripts/CheckIfHome &
And then I tried a few ways to verify that it is running - but it is stealth for sure. ps command well it is not supported as I am used (ex linux/solaris sysadm). I can see that the scripts run, since the function is there, and the sleep statement seems to be executed (although according to ps command it seems to shift PID all the time). But I have not found out how to verify if the scripts runs with less than check if a certain map is created or not...
So okay it is in the middle of the night here in Sweden, and my head is actually in Sydney time... And well anyone has any ideas?
I have a script: /jffs/scripts/CheckIfHome
Now I start it in services-start with: source /jffs/scripts/CheckIfHome &
And then I tried a few ways to verify that it is running - but it is stealth for sure. ps command well it is not supported as I am used (ex linux/solaris sysadm). I can see that the scripts run, since the function is there, and the sleep statement seems to be executed (although according to ps command it seems to shift PID all the time). But I have not found out how to verify if the scripts runs with less than check if a certain map is created or not...
So okay it is in the middle of the night here in Sweden, and my head is actually in Sydney time... And well anyone has any ideas?