slitaz-boot-scripts rev 252

Move bootlog script to bin/
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 06 05:00:51 2011 +0200 (2011-04-06)
parents 9c2622b96993
children 1ebe324e953a
files bin/bootlog bootlog etc/init.d/rcS etc/rcS.conf
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/bin/bootlog	Wed Apr 06 05:00:51 2011 +0200
     1.3 @@ -0,0 +1,4 @@
     1.4 +#!/bin/sh
     1.5 +# tazbootlog: Display SliTaz boot log messages.
     1.6 +#
     1.7 +cat /var/log/dmesg.log /var/log/boot.log | sed "s/.\[3g.*\]R//"
     2.1 --- a/bootlog	Wed Apr 06 04:11:36 2011 +0200
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,4 +0,0 @@
     2.4 -#!/bin/sh
     2.5 -# tazbootlog: Display SliTaz boot log messages.
     2.6 -#
     2.7 -cat /var/log/dmesg.log /var/log/boot.log | sed "s/.\[3g.*\]R//"
     3.1 --- a/etc/init.d/rcS	Wed Apr 06 04:11:36 2011 +0200
     3.2 +++ b/etc/init.d/rcS	Wed Apr 06 05:00:51 2011 +0200
     3.3 @@ -258,6 +258,9 @@
     3.4  # by boot options (screen=text will remove slim).
     3.5  . /etc/rcS.conf
     3.6  
     3.7 +# Auto recharge packages list (after network connection of course)
     3.8 +[ "$RECHARGE_PACKAGES_LIST" == "yes" ] && tazpkg recharge &
     3.9 +
    3.10  # Start all daemons specified with $RUN_DAEMONS.
    3.11  echo "Starting all daemons specified in /etc/rcS.conf..."
    3.12  for daemon in $RUN_DAEMONS
     4.1 --- a/etc/rcS.conf	Wed Apr 06 04:11:36 2011 +0200
     4.2 +++ b/etc/rcS.conf	Wed Apr 06 05:00:51 2011 +0200
     4.3 @@ -26,13 +26,17 @@
     4.4  KERNEL_LOG_DAEMONS="yes"
     4.5  SYSLOGD_ROTATED_SIZE="60"
     4.6  
     4.7 -# Kernel modules to automatically load at boot time. You can use 'modprobe -l'
     4.8 -# to get a list of all kernel modules available.
     4.9 -#
    4.10 -# For Intel and some Nvidia sound cards : snd_intel8x0 snd_intel8x0m snd_hda_intel
    4.11 -#
    4.12 +# Kernel modules to automatically load at boot time if not automaticaly
    4.13 +# detected. You can use 'modprobe -l' to get a list of all kernel modules
    4.14 +# available.
    4.15  LOAD_MODULES=" "
    4.16  
    4.17 +# Automaticaly recharge packages list on each boot and in background.
    4.18 +# If new packages or upgrade are avalaible they will be notified with
    4.19 +# tazpkg-notify. Here we just recharge list, we dont install anything
    4.20 +# since root user should check visualy packages that will be upgraded.
    4.21 +RECHARGE_PACKAGES_LIST="no"
    4.22 +
    4.23  # Initialization scripts to run at boot time. Boot order is important:
    4.24  # bootopts.sh (boot options) must start first, hwconf.sh after network.sh (tazx
    4.25  # needs an active connection to install Xorg), then you are free to choose.