Hi. I also have a problem of a services-start script not starting.
My "Enable JFFS custom scripts and configs" is enabled.
here's the script as it is now:
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
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