Look at LSB init scripts for more information.
Copy to /etc/init.d:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)Look at LSB init scripts for more information.
Copy to /etc/init.d:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)| #!/bin/bash | |
| set -e | |
| INITIALPWD=`pwd` | |
| #Greatly based on http://debianhelp.wordpress.com/2013/11/19/to-do-list-after-installing-ubuntu-13-10-aka-saucy-salamander-os-2/ | |
| #libGL issues on 64bit solved through this http://askubuntu.com/questions/257897/error-loading-libgl-so-1 | |
| #============================================================================================= | |
| #:::After installing the operating system::: | |
| sudo apt-get update && sudo apt-get -y upgrade && sudo apt-get -y dist-upgrade && sudo apt-get -y autoclean && sudo apt-get -y autoremove |
This gist is a fork of the gist from this blog post.