I'm new here so I'm not quite familiar with the rules and policies quite yet but I found a very helpful thread over at superuser[dot]com - link
In summary, to ensure that your settings are configured at system boot-up, create a bash script and save it to: /etc/init.d/your_script and make sure it is executable
$ chmod 700 your_script
Then add it to the init services:
$ sudo update-rc.d your_script defaults
Also, feel free to read the 'man' page for update-rc.d :)
$ man update-rc.d
To ensure that your settings are configured after logging into the system, here is some more information and instructions on it from another thread on askubuntu[.]com - link
Hope this helps!