Fix boot.sh when invoked non-interactively via crontab