website diff en/doc/scratchbook/boot-scripts.html @ rev 1344

Resize balinor logo to 120px
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jan 22 23:02:15 2021 +0100 (2021-01-22)
parents c2f9d5d0f314
children
line diff
     1.1 --- a/en/doc/scratchbook/boot-scripts.html	Thu Mar 29 01:59:45 2012 +0300
     1.2 +++ b/en/doc/scratchbook/boot-scripts.html	Fri Jan 22 23:02:15 2021 +0100
     1.3 @@ -1,23 +1,22 @@
     1.4 -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     1.5 -    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     1.6 -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
     1.7 +<!DOCTYPE html>
     1.8 +<html lang="en">
     1.9  <head>
    1.10 -    <title>SliTaz Scratchbook - Boot Scripts</title>
    1.11 -    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    1.12 -    <meta name="description" content="" />
    1.13 -    <meta name="expires" content="never" />
    1.14 -    <meta name="modified" content="2008-11-22 17:00:00" />
    1.15 -    <meta name="publisher" content="www.slitaz.org" />
    1.16 -    <meta name="author" content="Christophe Lincoln"/>
    1.17 -    <link rel="shortcut icon" href="favicon.ico" />
    1.18 -    <link rel="stylesheet" type="text/css" href="book.css" />
    1.19 +	<meta charset="UTF-8">
    1.20 +	<title>SliTaz Scratchbook - Boot Scripts</title>
    1.21 +	<meta name="description" content="">
    1.22 +	<meta name="expires" content="never">
    1.23 +	<meta name="modified" content="2008-11-22 17:00:00">
    1.24 +	<meta name="publisher" content="www.slitaz.org">
    1.25 +	<meta name="author" content="Christophe Lincoln">
    1.26 +	<link rel="shortcut icon" href="favicon.ico">
    1.27 +	<link rel="stylesheet" href="book.css">
    1.28  </head>
    1.29 -<body bgcolor="#ffffff">
    1.30 +<body>
    1.31  
    1.32  <!-- Header and quick navigation -->
    1.33  <div id="header">
    1.34  <div align="right" id="quicknav">
    1.35 -    <a name="top"></a>
    1.36 +    <span id="top"></span>
    1.37      <a href="locale.html">Locale &amp; i18n</a> |
    1.38      <a href="index.html">Table of contents</a> |
    1.39      <a href="x-window-system.html">X window system</a>
    1.40 @@ -43,8 +42,7 @@
    1.41  	<li><a href="#inittab">/etc/inittab</a> - Configuration file init.</li>
    1.42  </ul>
    1.43  
    1.44 -<a name="intro"></a>
    1.45 -<h3><font color="#6c0023">SliTaz and startup</font></h3>
    1.46 +<h3 id="intro">SliTaz and startup</h3>
    1.47  
    1.48  <p>
    1.49  SliTaz does not use a level of execution (runlevel), the
    1.50 @@ -54,12 +52,11 @@
    1.51  commands placed for the system to start.
    1.52  </p>
    1.53  
    1.54 -<a name="init.d"></a>
    1.55 -<h3><font color="#6c0023">/etc/init.d/* - Directory of scripts and daemons</font></h3>
    1.56 +<h3 id="init.d">/etc/init.d/* - Directory of scripts and daemons</h3>
    1.57  <p>
    1.58  The directory /etc/init.d contains all of the rc scripts,
    1.59 -scripts finishing with '.sh' are simple shell scripts and
    1.60 -daemons such as 'dropbear' or 'lighttpd' are scripts
    1.61 +scripts finishing with ‘.sh’ are simple shell scripts and
    1.62 +daemons such as ‘dropbear’ or ‘lighttpd’ are scripts
    1.63  that launch a service. The daemon scripts can start, stop or
    1.64  restart through the command:
    1.65  </p>
    1.66 @@ -74,8 +71,7 @@
    1.67  the previous command has succeeded (0) or not.
    1.68  </p>
    1.69  
    1.70 -<a name="rcS"></a>
    1.71 -<h3><font color="#6c0023">/etc/init.d/rcS - Primary initialization script</font></h3>
    1.72 +<h3 id="rcS">/etc/init.d/rcS - Primary initialization script</h3>
    1.73  <p>
    1.74  The <code>/etc/init.d/rcS</code> script configures all the 
    1.75  basic services and initializes the base system. It begins by 
    1.76 @@ -89,8 +85,7 @@
    1.77  </pre>
    1.78  
    1.79  
    1.80 -<a name="rc-scripts"></a>
    1.81 -<h3><font color="#6c0023">Specific scripts and daemons</font></h3>
    1.82 +<h3 id="rc-scripts">Specific scripts and daemons</h3>
    1.83  
    1.84  <h4>bootopts.sh - LiveCD mode options</h4>
    1.85  <p>
    1.86 @@ -120,8 +115,8 @@
    1.87  /etc/locale.conf which is read by /etc/profile at each 
    1.88  login. The /etc/locale.conf is generated during boot time
    1.89  thanks to the /etc/i18n.sh script. This script launches the
    1.90 -'tazlocale' application if /etc/locale.conf doesn't exist. 
    1.91 -We use the same process for the keyboard layout using 'tazkmap' 
    1.92 +‘tazlocale’ application if /etc/locale.conf doesn't exist.
    1.93 +We use the same process for the keyboard layout using ‘tazkmap’
    1.94  and the /etc/kmap.conf configuration file. Both applications 
    1.95  are installed and located in /sbin and use dialog and the 
    1.96  ncurses library. The script also checks whether the 
    1.97 @@ -151,8 +146,7 @@
    1.98  the primary <code>/etc/rcS.conf</code> configuration file.
    1.99  </p>
   1.100  
   1.101 -<a name="inittab"></a>
   1.102 -<h3><font color="#6c0023">/etc/inittab - Configuration file init</font></h3>
   1.103 +<h3 id="inittab">/etc/inittab - Configuration file init</h3>
   1.104  <p>
   1.105  The first file read by the Kernel at boot. It defines the 
   1.106  initialization script (/etc/init.d/rcS), shells (ttys) and