slitaz-boot-scripts rev 444

etc/init.d/rcS: fix "Searching for early boot options..." status.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Oct 05 15:33:26 2017 +0300 (2017-10-05)
parents a25d6905c56f
children 65c9b99080a3
files etc/init.d/rcS
line diff
     1.1 --- a/etc/init.d/rcS	Tue Sep 12 02:00:02 2017 +0300
     1.2 +++ b/etc/init.d/rcS	Thu Oct 05 15:33:26 2017 +0300
     1.3 @@ -81,9 +81,9 @@
     1.4  		# Parse cmdline args for earlier boot options. All other boot options
     1.5  		# are in /etc/init./bootopts.sh.
     1.6  		action 'Searching for early boot options...'
     1.7 -		opt=$(cmdline_option modprobe); [ -n "$opt" ] && export MODPROBE='yes'
     1.8 -		opt=$(cmdline_option config);   [ -n "$opt" ] && export CONFIG="$opt"
     1.9 -		opt=$(cmdline_option screen);   [ -n "$opt" ] && export SCREEN="$opt"
    1.10 +		opt=$(cmdline_option modprobe); [ -z "$opt" ] || export MODPROBE='yes'
    1.11 +		opt=$(cmdline_option config);   [ -z "$opt" ] || export CONFIG="$opt"
    1.12 +		opt=$(cmdline_option screen);   [ -z "$opt" ] || export SCREEN="$opt"
    1.13  		status
    1.14  
    1.15  		# Clean up the system and set up tmp dirs.