I made the changes but when I run rc.local I get: Sudo bash /etc/rc.local /etc/rc.local: line 13: aisstart.sh: command not found But I can manually run aisstart.sh from the command line using: sudo bash aisstart.sh and it works. Here is rc.local, I've tried with and without sudo and bash. #!/bin/sh ...