OSDN Git Service

init.sh: skip useless cmdline
authorChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 21 Jul 2016 15:26:03 +0000 (23:26 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 21 Jul 2016 15:26:03 +0000 (23:26 +0800)
init.sh

diff --git a/init.sh b/init.sh
index 2755a58..9d6a12f 100644 (file)
--- a/init.sh
+++ b/init.sh
@@ -410,7 +410,7 @@ PRODUCT=$(cat $DMIPATH/product_name)
 # import cmdline variables
 for c in `cat /proc/cmdline`; do
        case $c in
-               *.*=*)
+               BOOT_IMAGE=*|iso-scan/*|*.*=*)
                        ;;
                *=*)
                        eval $c