#!/system/bin/sh pipe=/data/local/tmp/stopdeb if [ ! -p $pipe ]; then echo "deb not running" >> /data/local/home/sdcard.log exit 1 fi echo "exit" >$pipe