Scripts are case sensitive (elsE != else).
There are three paths where the scripting can silently fail, leaving only a blank screen. Fix those so you can tell which one is being taken.
(Also: The script has no tests to determine if connectivity has come back up before it runs. That is, cron can start to run the script before networking is available.)
|