Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:scratchbook:boot-scripts [2011/04/21 20:33] – copy from old wiki domcoxen:scratchbook:boot-scripts [2011/04/23 21:08] (current) – fix: files were badly displayed domcox
Line 38: Line 38:
  
 The /etc/init.d/local.sh script allows the system administrator to add local commands to be executed at boot. Example: The /etc/init.d/local.sh script allows the system administrator to add local commands to be executed at boot. Example:
 +<file>
   #!/bin/sh   #!/bin/sh
   # /etc/init.d/local.sh: Local startup commands.   # /etc/init.d/local.sh: Local startup commands.
Line 46: Line 46:
  
   echo "Starting local startup commands... "   echo "Starting local startup commands... "
 +</file>
 ==== rc.shutdown ==== ==== rc.shutdown ====
  
Line 54: Line 54:
  
 The first file read by the Kernel at boot. It defines the initialization script (/etc/init.d/rcS), shells (ttys) and actions in the event of a reboot or disruption. You will find a complete example with accompanying notes in [[http://doc.slitaz.org/en:cookbook:slitaztools|SliTaz tools]]: The first file read by the Kernel at boot. It defines the initialization script (/etc/init.d/rcS), shells (ttys) and actions in the event of a reboot or disruption. You will find a complete example with accompanying notes in [[http://doc.slitaz.org/en:cookbook:slitaztools|SliTaz tools]]:
 +<file>
   # /etc/inittab: init configuration for SliTaz GNU/Linux.   # /etc/inittab: init configuration for SliTaz GNU/Linux.
   # Boot-time system configuration/initialization script.   # Boot-time system configuration/initialization script.
Line 74: Line 74:
   ::ctrlaltdel:/sbin/reboot   ::ctrlaltdel:/sbin/reboot
   ::shutdown:/etc/init.d/rc.shutdown   ::shutdown:/etc/init.d/rc.shutdown
 +</file>
 ==== Following chapter ==== ==== Following chapter ====
  
 The next chapter continues on with the [[x-window-system|X window system]]. The next chapter continues on with the [[x-window-system|X window system]].
 
en/scratchbook/boot-scripts.txt · Last modified: by domcox