shell: dont print box for shell
Signed-off-by: Joel Fernandes <joel@joelfernandes.org>
diff --git a/androdeb b/androdeb
index ae8e0f3..79fcd66 100755
--- a/androdeb
+++ b/androdeb
@@ -10,8 +10,6 @@
source $spath/utils/support
source $spath/utils/banners
-box_out "androdeb: $VERSION"
-
# Set default vars
DISTRO=buster; ARCH=arm64
ADB="adb"
@@ -70,6 +68,8 @@
esac
done
+[ -z $ASHELL ] && box_out "androdeb: $VERSION"
+
if [ ! -z "$GIT_PULL" ]; then
c_info "Updating androdeb by git pull"
cd $spath
@@ -116,6 +116,7 @@
if [[ ! -z ${TARDIR+x} ]] && [[ ! -d $TARDIR ]]; then die 7 "Tar dir specified doesn't exist"; fi
if [ -z $BI ]; then
+ [ -z $ASHELL ] && c_info "Looking for device.."
do_adb_root "$ADB"
if [ $? -ne 0 ]; then