Did you remember to grant execute permission while as root to the script ? so essentially > sudo gainroot > cd < to directory where script is stored> > ls -l - to check the presence of the pan_start.sh file in the listed files > chmod a+x pan_start.sh - provided that is the name of the script file > ./pan_start.sh that should get the script running