fbpx

Script al inicio de session en ubuntu

Sacado de por ahi…

To run your script on startup do as follow :
1- create a file under init.d : sudo gedit /etc/init.d/my_script
2- put your command lines/script in the file & save it
3- make the file executable : sudo chmod +x /etc/init.d/my_script
4- make it run on boot : sudo update-rc.d my_script defaults

That’s all

Don’t Stop Here

More To Explore