slitaz-boot-scripts diff etc/init.d/hwconf.sh @ rev 153

Improve and tidy scripts, start tazhw from rcS and start network.sh earlier
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 21 01:46:21 2009 +0200 (2009-04-21)
parents 4ae0810cb439
children c366b7b0620e
line diff
     1.1 --- a/etc/init.d/hwconf.sh	Mon Mar 09 10:16:51 2009 +0000
     1.2 +++ b/etc/init.d/hwconf.sh	Tue Apr 21 01:46:21 2009 +0200
     1.3 @@ -1,14 +1,11 @@
     1.4  #!/bin/sh
     1.5 -# /etc/init.d/hwconf.sh - SliTaz hardware autoconfiguration.
     1.6 +# /etc/init.d/hwconf.sh - SliTaz hardware configuration.
     1.7 +#
     1.8 +# This script configure the sound card and screen. Tazhw is used earlier
     1.9 +# at boot time to autoconfigure PCI and USB devices.
    1.10  #
    1.11  . /etc/init.d/rc.functions
    1.12  
    1.13 -# Detect PCI and USB devices with Tazhw from slitaz-tools. We load
    1.14 -# kernel module only at first boot or in LiveCD mode.
    1.15 -if [ ! -s /var/lib/detected-modules ]; then
    1.16 -	/sbin/tazhw init
    1.17 -fi
    1.18 -
    1.19  # Sound configuration stuff. First check if sound=no and remove all
    1.20  # sound Kernel modules.
    1.21  if grep -q "sound=" /proc/cmdline; then