SliTaz GNU/Linux official and community documentation wiki.
.png

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
en:cookbook:bootscripts [2010/05/19 21:52]
linea
en:cookbook:bootscripts [2010/09/12 10:58]
linea
Line 45: Line 45:
 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:
  
-<code>+<file>
 #!/bin/sh #!/bin/sh
 # /​etc/​init.d/​local.sh:​ Local startup commands. # /​etc/​init.d/​local.sh:​ Local startup commands.
Line 53: Line 53:
  
 echo "​Starting local startup commands... " echo "​Starting local startup commands... "
-</code>+</file>
  
 +=== wpa_action.sh - Wireless network ===
 +
 +This script uses //​network.sh//​ to start/​restart the DHCP server if you use a dynamic IP.
  
 === rc.shutdown === === rc.shutdown ===
Line 62: Line 65:
 ===== /​etc/​inittab - Configuration file init ====== ===== /​etc/​inittab - Configuration file init ======
  
-The first file read by the Kernel at boot. It defines the initialization script (///​etc/​init.d/​rcS//​),​ terminals (ttys) and actions in the event of a reboot or disruption. You will find a complete example with accompanying notes in SliTaz tools:+The first file read by the Kernel at boot. It defines the initialization script (///​etc/​init.d/​rcS//​), ​virtual ​terminals (ttys) and actions in the event of a reboot or disruption. You will find a complete example with accompanying notes in SliTaz tools:
  
-<code>+<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 84: Line 87:
 ::​ctrlaltdel:/​sbin/​reboot ::​ctrlaltdel:/​sbin/​reboot
 ::​shutdown:/​etc/​init.d/​rc.shutdown ::​shutdown:/​etc/​init.d/​rc.shutdown
- +</file>
-</code>+
  
 
en/cookbook/bootscripts.txt · Last modified: 2010/09/13 19:40 by linea