if [ "$(pidof wallpaperRandomSwitch.sh)" ] ; then killall -9 -w wallpaperRandomSwitch.sh fi # add your code here exit
while pidof wallpaperRandomSwitch.sh > /dev/null ; killall wallpaperRandomSwitch.sh ; done # add your code here exit -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1382114088.678.15.camel@archlinux