Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:bootlocal.sh_and_shutdown.sh [2011/05/01 12:20] – [bootlocal.sh] Guy | wiki:bootlocal.sh_and_shutdown.sh [2011/05/01 14:47] (current) – [Execute Commands during Startup or Shutdown] Guy | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
==== bootsync.sh and bootlocal.sh ==== | ==== bootsync.sh and bootlocal.sh ==== | ||
- | If you want commands executed every time you start the computer, add them to / | + | If you want commands executed every time you start the computer, add them to / |
+ | |||
+ | / | ||
+ | |||
+ | / | ||
+ | |||
+ | Most commands should go in / | ||
After changing one of these files, if you don't have persistent /opt, backup when turning the computer off. | After changing one of these files, if you don't have persistent /opt, backup when turning the computer off. | ||
Line 9: | Line 15: | ||
==== shutdown.sh ==== | ==== shutdown.sh ==== | ||
- | If you want some commands executed before the computer is turned off, add them to / | + | If you want commands executed before the computer is turned off, add them to / |
- | After changing this file, if you don't have persistent /opt, you must backup when turning the computer off. | + | After changing this file, if you don't have persistent /opt, backup when turning the computer off. |