slitaz-tools rev 97 1.9.3

soundconf give less msg and remoce sleep 1 + box goes in the center
author Christophe Lincoln <pankso@slitaz.org>
date Mon Mar 10 20:42:46 2008 +0100 (2008-03-10)
parents 2ec509854987
children 48bf55c66ac9
files tinyutils/mountbox tinyutils/netbox tinyutils/soundconf
line diff
     1.1 --- a/tinyutils/mountbox	Sun Mar 09 23:35:51 2008 +0000
     1.2 +++ b/tinyutils/mountbox	Mon Mar 10 20:42:46 2008 +0100
     1.3 @@ -156,6 +156,6 @@
     1.4  
     1.5  # Only root can mount.
     1.6  check_root
     1.7 -gtkdialog --program=MOUNT_DIALOG
     1.8 +gtkdialog --center --program=MOUNT_DIALOG
     1.9  
    1.10  exit 0
     2.1 --- a/tinyutils/netbox	Sun Mar 09 23:35:51 2008 +0000
     2.2 +++ b/tinyutils/netbox	Mon Mar 10 20:42:46 2008 +0100
     2.3 @@ -252,6 +252,6 @@
     2.4  
     2.5  # Only root can configure network.
     2.6  check_root
     2.7 -gtkdialog --program=NET_BOX
     2.8 +gtkdialog --center --program=NET_BOX
     2.9  
    2.10  exit 0
     3.1 --- a/tinyutils/soundconf	Sun Mar 09 23:35:51 2008 +0000
     3.2 +++ b/tinyutils/soundconf	Mon Mar 10 20:42:46 2008 +0100
     3.3 @@ -672,9 +672,7 @@
     3.4  	# Keep card driver name in /var/lib to be used by boot scripts.
     3.5  	echo $CARD_DRIVER > /var/lib/sound-card-driver
     3.6  
     3.7 -	echo "Loading drivers : $CARD_DRIVER"
     3.8 -	modprobe $CARD_DRIVER
     3.9 -	sleep 1
    3.10 +	modprobe $CARD_DRIVER >/dev/null 2>&1
    3.11  	
    3.12  	# Sed /etc/rcS.conf to add driver in LOAD_MODULES
    3.13  	. /etc/rcS.conf
    3.14 @@ -684,17 +682,10 @@
    3.15  		/etc/rcS.conf
    3.16  	
    3.17  	# Set default mixer volumes
    3.18 -	echo -n "Setting default mixers volumes..."
    3.19  	set_mixers
    3.20 -	status
    3.21  
    3.22  	# Store
    3.23  	alsactl store
    3.24 -	
    3.25 -    echo -e "
    3.26 -* Now ALSA is ready to use.
    3.27 -* For adjustment of volumes, use your favorite mixer.
    3.28 -* Have a lot of fun!\n"
    3.29  }
    3.30  
    3.31  # check playback