# HG changeset patch # User Christophe Lincoln # Date 1196422028 -3600 # Node ID d2ef6089e2a4aa0c8a50e75787f509d735434d1f # Parent b150a8b97d630da2abae8e93230b9fecf84abfa0 Add rcS.conf and /etc/init.d/README diff -r b150a8b97d63 -r d2ef6089e2a4 etc/init.d/README --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/etc/init.d/README Fri Nov 30 12:27:08 2007 +0100 @@ -0,0 +1,16 @@ +/etc/init.d/README for SliTaz init boot scripts. +=============================================================================== + + +SliTaz dont use runlevels, inittab starts /etc/init.d/rcS, who use the config +file /etc/rcS.conf to run all scripts specified with $RUN_SCRIPTS, and then +starts all daemons specified with $RUN_DAEMONS. The idea is to centralise the +main system boot initialisation in one configuration file. Init scripts can +use the rc.functions file (part of the base-files) to call for the status +fonction. Daemons can use /etc/daemons.conf to call for default options, by +this way users/admins dont need to edit the daemon init script, located +in /etc/init.d directory. + + +=============================================================================== + http://www.slitaz.org/ diff -r b150a8b97d63 -r d2ef6089e2a4 etc/rcS.conf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/etc/rcS.conf Fri Nov 30 12:27:08 2007 +0100 @@ -0,0 +1,40 @@ +# /etc/rcS.conf - Initial boot script configuration for SliTaz GNU/Linux. +# Config file used by /etc/init.d/rcS +# + +# Start Kernel log daemons (syslogd and klogd). +KERNEL_LOG_DAEMONS="yes" +SYSLOGD_ROTATED_SIZE="60" + +# Use udev to populate /dev and handles hotplug events. +UDEV="yes" + +# Clean up the system removing all tmp and pid files. +CLEAN_UP_SYSTEM="yes" + +# Filesystems to check integrity on boot time. You should check the +# rootfs (where SliTaz is installed) and all partitions listed in +# /etc/fstab. Exemple : CHECK_FS="/dev/hda5 /dev/hdb1" +CHECK_FS="" + +# Kernel modules to automaticly load at boot time. You can use 'modprobe -l' +# to get a list of all kernel modules avalaible. +# +# Fot Intel and some Nvidia sound cards : snd_intel8x0 snd_intel8x0m snd_hda_intel +# +LOAD_MODULES="vfat nls_utf8 ohci_hcd snd" + +# Initialisation scripts to run at boot time. Boot order is important, +# bootopts.sh (boot options) must start first, then you free to choose. Note +# that the local.sh script exist to let you quick add some local startup +# commands. +RUN_SCRIPTS="bootopts.sh network.sh i18n.sh local.sh" + +# Daemons to start at boot time. SliTaz provide only a few daemons, firewall, +# Web server (lighttpd), SSH server (dropbear) and rsyncd, so boot order is +# not realy important. +RUN_DAEMONS="firewall lighttpd" + +# Pre login bold message. +MESSAGE="Welcome to your box." +