@NiLuJe
I just double checked and the file has the correct Unix EOLs.
With my rather limited knowledge of shell scripts I was able to edit the scheduler.sh script and add the full path for both the config.sh and the utils.sh. Now the error mentioned above is gone and the script is actually running. But I'm still getting error messages:
Code:
[root@kindle bin]# /mnt/us/extensions/onlinescreensaver/bin/scheduler.sh &
[root@kindle bin]# Sun May 4 21:28:47 GMT+03:53 2014: Full two day schedule: 00:00-06:00=300 06:00-22:00=10 22:00-24:00=30 24:0-30:0=300 30:0-46:0=10 46:0-48:0=30
com.lab126.cmd failed to access property wirelessEnable (0x8 lipcErrNoSuchProperty)
sh: -eq: argument expected
Sun May 4 21:28:48 GMT+03:53 2014: Screen saver image updated
Sun May 4 21:28:48 GMT+03:53 2014: Schedule 06:00-22:00=10 used, next update in 10 minutes
Sun May 4 21:28:48 GMT+03:53 2014: Next update in 10 minutes
/mnt/us/extensions/onlinescreensaver/bin/scheduler.sh: line 126: syntax error: 60 *