This is an old revision of the document!


If you want some commands executed after every boot then you should add them to bootlocal.sh. This script is executed after the boot sequence. Similarly if you want some commands executed before every shutdown you should add them to shutdown.sh as it is executed before every shutdown. By default these two files do not contain any commands and are kept in /opt directory. If you edit them and if you don't have persistent /opt then be sure they are backed up before shutting down. By default these files are backed up.

Print/export
QR Code
QR Code wiki:bootlocal.sh_and_shutdown.sh (generated for current page)