Add commands to /etc/rc.local
# This script is executed at the end of each multiuser runlevel
/<path to your script>/script.sh || exit 1 # Added
exit 0
Add commands to /etc/rc.local
# This script is executed at the end of each multiuser runlevel
/<path to your script>/script.sh || exit 1 # Added
exit 0