This is an old revision of the document!


bootsync.sh, bootlocal.sh and shutdown.sh

bootlocal.sh

If you want commands executed every time you start the computer, add them to /opt/bootlocal.sh. This is executed after the boot sequence.

After changing this file, if you don't have persistent /opt, you must backup when turning the computer off.

shutdown.sh

If you want some commands executed before the computer is turned off, add them to /opt/shutdown.sh. This it is executed before every shutdown.

After changing this file, if you don't have persistent /opt, you must backup when turning the computer off.

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