X-Git-Url: http://git.osdn.net/view?p=android-x86%2Fdevice-generic-common.git;a=blobdiff_plain;f=init.sh;h=7ed51de1f2a3bef5036067f01ba7c7db6b5b8d0e;hp=3e02a24e2e121e9e597bc8abdadc7528aa3b9a18;hb=9425a96fd759ce75940288cf9084c48e7a721fff;hpb=da8e5d9002f2e7a5df7f87b4dada63d3ee440d52 diff --git a/init.sh b/init.sh index 3e02a24..7ed51de 100644 --- a/init.sh +++ b/init.sh @@ -402,18 +402,20 @@ PRODUCT=$(cat $DMIPATH/product_name) # import cmdline variables for c in `cat /proc/cmdline`; do case $c in - androidboot.hardware=*) + *.*=*) ;; *=*) eval $c - case $c in - HWACCEL=*) - set_property debug.egl.hw $HWACCEL - ;; - DEBUG=*) - set_property debug.logcat 1 - ;; - esac + if [ -z "$1" ]; then + case $c in + HWACCEL=*) + set_property debug.egl.hw $HWACCEL + ;; + DEBUG=*) + [ -n "$DEBUG" ] && set_property debug.logcat 1 + ;; + esac + fi ;; esac done