From e74619bae56d1b18c85e600311d4fa47639c4114 Mon Sep 17 00:00:00 2001 From: computermouth Date: Mon, 21 Mar 2016 19:05:29 -0700 Subject: [PATCH] Add pocketchip flashing script --- chip-local-flash.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/chip-local-flash.sh b/chip-local-flash.sh index eefc44a..1356124 100755 --- a/chip-local-flash.sh +++ b/chip-local-flash.sh @@ -16,7 +16,7 @@ DL_DIR=".dl" ############################################################## # main ############################################################## -while getopts "fdnu:" opt; do +while getopts "fdpnu:" opt; do case $opt in f) echo "fastboot enabled" @@ -27,6 +27,10 @@ while getopts "fdnu:" opt; do echo "desktop selected" DL_FLAVOR=desk ;; + p) + echo "desktop selected" + DL_FLAVOR=pocket + ;; n) echo "next enabled" DL_DIST=testing-rootfs