That sounded like a good idea. Added the first echo line and the trap line to the beginning of my script but it didn't make any difference. Strange.
I made an debug version of the script that writes text after each commad to a log file on /mnt/ext2. Every command seems to be run according to the log file but still nothing downloaded. The log file gets a text for each command.
Also tried to let the script copy a downloaded version of etidning.html from /mnt/ext2 to /var/tmp if the reason was something wrong with the new wget but got the same result.
In the debug version I added sleep 5 to the beginning and that command seems to be run as well as the echo's, but not the wget.
Might it be related to access rights or the user that calls the script?
|