This is an old revision of the document!
−Table of Contents
bootsync.sh, bootlocal.sh and shutdown.sh
bootsync.sh and bootlocal.sh
If you want commands executed every time you start the computer, add them to /opt/bootsync.sh or /opt/bootlocal.sh. /opt/bootsync.sh is run early in the boot process. /opt/bootlocal.sh is run later in the boot process. Most commands should go in /opt/bootlocal.sh, except commands you want executed early in the boot process.
After changing one of these files, if you don't have persistent /opt, 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.