slitaz-boot-scripts rev 3

Add rcS.conf and /etc/init.d/README
author Christophe Lincoln <pankso@slitaz.org>
date Fri Nov 30 12:27:08 2007 +0100 (2007-11-30)
parents b150a8b97d63
children c8e1e2cba56a
files etc/init.d/README etc/rcS.conf
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/etc/init.d/README	Fri Nov 30 12:27:08 2007 +0100
     1.3 @@ -0,0 +1,16 @@
     1.4 +/etc/init.d/README for SliTaz init boot scripts.
     1.5 +===============================================================================
     1.6 +
     1.7 +
     1.8 +SliTaz dont use runlevels, inittab starts /etc/init.d/rcS, who use the config
     1.9 +file /etc/rcS.conf to run all scripts specified with $RUN_SCRIPTS, and then
    1.10 +starts all daemons specified with $RUN_DAEMONS. The idea is to centralise the
    1.11 +main system boot initialisation in one configuration file. Init scripts can
    1.12 +use the rc.functions file (part of the base-files) to call for the status
    1.13 +fonction. Daemons can use /etc/daemons.conf to call for default options, by
    1.14 +this way users/admins dont need to edit the daemon init script, located
    1.15 +in /etc/init.d directory.
    1.16 +
    1.17 +
    1.18 +===============================================================================
    1.19 +                                                         http://www.slitaz.org/
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/etc/rcS.conf	Fri Nov 30 12:27:08 2007 +0100
     2.3 @@ -0,0 +1,40 @@
     2.4 +# /etc/rcS.conf - Initial boot script configuration for SliTaz GNU/Linux.
     2.5 +# Config file used by /etc/init.d/rcS
     2.6 +#
     2.7 +
     2.8 +# Start Kernel log daemons (syslogd and klogd).
     2.9 +KERNEL_LOG_DAEMONS="yes"
    2.10 +SYSLOGD_ROTATED_SIZE="60"
    2.11 +
    2.12 +# Use udev to populate /dev and handles hotplug events.
    2.13 +UDEV="yes"
    2.14 +
    2.15 +# Clean up the system removing all tmp and pid files.
    2.16 +CLEAN_UP_SYSTEM="yes"
    2.17 +
    2.18 +# Filesystems to check integrity on boot time. You should check the 
    2.19 +# rootfs (where SliTaz is installed) and all partitions listed in 
    2.20 +# /etc/fstab. Exemple : CHECK_FS="/dev/hda5 /dev/hdb1"
    2.21 +CHECK_FS=""
    2.22 +
    2.23 +# Kernel modules to automaticly load at boot time. You can use 'modprobe -l'
    2.24 +# to get a list of all kernel modules avalaible.
    2.25 +#
    2.26 +# Fot Intel and some Nvidia sound cards : snd_intel8x0 snd_intel8x0m snd_hda_intel
    2.27 +#
    2.28 +LOAD_MODULES="vfat nls_utf8 ohci_hcd snd"
    2.29 +
    2.30 +# Initialisation scripts to run at boot time. Boot order is important,
    2.31 +# bootopts.sh (boot options) must start first, then you free to choose. Note
    2.32 +# that the local.sh script exist to let you quick add some local startup
    2.33 +# commands.
    2.34 +RUN_SCRIPTS="bootopts.sh network.sh i18n.sh local.sh"
    2.35 +
    2.36 +# Daemons to start at boot time. SliTaz provide only a few daemons, firewall,
    2.37 +# Web server (lighttpd), SSH server (dropbear) and rsyncd, so boot order is
    2.38 +# not realy important.
    2.39 +RUN_DAEMONS="firewall lighttpd"
    2.40 +
    2.41 +# Pre login bold message.
    2.42 +MESSAGE="Welcome to your box."
    2.43 +