What's new

services-start script won't start ?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Mikii

Regular Contributor
Hi. I also have a problem of a services-start script not starting.

My "Enable JFFS custom scripts and configs" is enabled.



Code:
/jffs/scripts/services-start# ls -la
drwxrwxrwx    2 Michele  root             0 Aug 14 12:35 .
drwxr-xr-x    4 Michele  root             0 Aug 14 12:14 ..
-rwxrwxrwx    1 Michele  root           148 Aug 14 12:27 startwebcheckok.sh

here's the script as it is now:
Code:
#!/bin/sh
sleep 120
echo "pippo" > my.txt
/usr/sbin/cru a CheckWebCommand "*/2 * * * * sh /tmp/mnt/MicUSBsctipts/micscripts/checkwebvpncommand.sh"

If I execute manually everything works as expected, but upon reboot, nothing happens. No my.txt and no cronjob added.

I have diversion installed, could this be a problem?

any help would be MUCH appreciated!

Michele
 
ah-ah! Thank you. I don't know how I assumed that had to be a directory!

thank you very much!

Michele
 

Similar threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top