# HG changeset patch # User Aleksej Bobylev # Date 1507206806 -10800 # Node ID 7d4da3b011812600c88d35399ded8cb9df3fe947 # Parent a25d6905c56fb1bf5f135cc82325c71a454dac00 etc/init.d/rcS: fix "Searching for early boot options..." status. diff -r a25d6905c56f -r 7d4da3b01181 etc/init.d/rcS --- a/etc/init.d/rcS Tue Sep 12 02:00:02 2017 +0300 +++ b/etc/init.d/rcS Thu Oct 05 15:33:26 2017 +0300 @@ -81,9 +81,9 @@ # Parse cmdline args for earlier boot options. All other boot options # are in /etc/init./bootopts.sh. action 'Searching for early boot options...' - opt=$(cmdline_option modprobe); [ -n "$opt" ] && export MODPROBE='yes' - opt=$(cmdline_option config); [ -n "$opt" ] && export CONFIG="$opt" - opt=$(cmdline_option screen); [ -n "$opt" ] && export SCREEN="$opt" + opt=$(cmdline_option modprobe); [ -z "$opt" ] || export MODPROBE='yes' + opt=$(cmdline_option config); [ -z "$opt" ] || export CONFIG="$opt" + opt=$(cmdline_option screen); [ -z "$opt" ] || export SCREEN="$opt" status # Clean up the system and set up tmp dirs.