slitaz-boot-scripts diff etc/init.d/rcS @ 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 | f12914c09028 |
children | d6f110850f61 |
line diff
1.1 --- a/etc/init.d/rcS Mon Sep 11 23:36:42 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.