Linux
Auto execute commands or scripts during reboot or startup
This method is valid even for systemd-based distributions. In order for this method to work, you must grant execute permissions to /etc/rc.d/rc.local as follows: # chmod +x /etc/rc.d/rc.local and add your script at the bottom of the file. The following image shows how to run two sample scripts (/home/gacanepa/script1.sh and Read more…