• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

device/generic/common


Commit MetaInfo

修訂6cf5d7f2a7aa19b3c1de487890eafe21884f6bc5 (tree)
時間2019-12-27 16:30:51
作者Chih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

init: allow to disable SetupWizard

SetupWizard could be disabled by adding SETUPWIZARD=0 to cmdline,
or DEBUG > 0 unless SETUPWIZARD=1.

Change Summary

差異

--- a/init.sh
+++ b/init.sh
@@ -541,11 +541,13 @@ for c in `cat /proc/cmdline`; do
541541 case $c in
542542 DEBUG=*)
543543 [ -n "$DEBUG" ] && set_property debug.logcat 1
544+ [ "$DEBUG" = "0" ] || SETUPWIZARD=${SETUPWIZARD:-0}
544545 ;;
545546 DPI=*)
546547 set_property ro.sf.lcd_density "$DPI"
547548 ;;
548549 esac
550+ [ "$SETUPWIZARD" = "0" ] && set_property ro.setupwizard.mode DISABLED
549551 fi
550552 ;;
551553 esac