slitaz-boot-scripts rev 195

/etc/init.d/rcS: fix cmdline parsing
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 22 20:44:14 2010 +0100 (2010-02-22)
parents 3e13b3a30ae5
children 15b5d3ffce78
files etc/init.d/rcS
line diff
     1.1 --- a/etc/init.d/rcS	Mon Feb 15 09:13:43 2010 +0000
     1.2 +++ b/etc/init.d/rcS	Mon Feb 22 20:44:14 2010 +0100
     1.3 @@ -27,13 +27,13 @@
     1.4  do
     1.5  	case $opt in
     1.6  		fastbootx|fbx)
     1.7 -			FAST_BOOT_X="yes" ;;
     1.8 +			export FAST_BOOT_X="yes" ;;
     1.9  		cdrom=*)
    1.10 -			CDROM=${opt#cdrom=} ;;
    1.11 +			export CDROM=${opt#cdrom=} ;;
    1.12  		modprobe=*)
    1.13 -			MODPROBE="yes" ;;
    1.14 +			export MODPROBE="yes" ;;
    1.15  		config=*)
    1.16 -			CONFIG=${opt#config=} ;;
    1.17 +			export CONFIG=${opt#config=} ;;
    1.18  		*)
    1.19  			continue ;;
    1.20  	esac