#!/bin/bash nmap -p 7676 tv.ddp.net | grep 'open' > /dev/null if [ x"$?" != "x0" ]; then adb shell monkey -p de.cyberdream.androidtv.notifications.google -c android.intent.category.LAUNCHER 1 fi