Strict Standards: Declaration of Doku_Renderer_metadata::table_open() should be compatible with Doku_Renderer::table_open($maxcols = NULL, $numrows = NULL, $pos = NULL) in /home/tinycore/wiki.tinycorelinux.net/inc/parser/metadata.php on line 24

Strict Standards: Declaration of Doku_Renderer_metadata::table_close() should be compatible with Doku_Renderer::table_close($pos = NULL) in /home/tinycore/wiki.tinycorelinux.net/inc/parser/metadata.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /home/tinycore/wiki.tinycorelinux.net/inc/parser/metadata.php:24) in /home/tinycore/wiki.tinycorelinux.net/inc/actions.php on line 180
wiki:bootlocal.sh_and_shutdown.sh - Tiny Core Linux Wiki

Welcome to the Tiny Core Linux Wiki at tinycorelinux.net!

Run Commands during Startup or Shutdown

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 commands executed before the computer is turned off, add them to /opt/shutdown.sh.

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

Print/export