#!/bin/dash # Author: # Juhapekka Tolvanen # http://iki.fi/juhtolv # juhtolv (at) iki (dot) fi # This script is public domain. There is no warranty. KILLER="killall" #KILLER="pkill" BINARIES="firefox-esr firefox firefox.real firefox-bin xulrunner-stub /usr/lib/iceweasel/plugin-container plugin-container" #BINARIES="firefox-esr firefox-bin /usr/lib/xulrunner-27.0/plugin-container xulrunner-stub firefox netscape netscape-remote navigator communicator navigator-smotif.real navigator-dmotif.real navigator-smotif navigator-dmotif communicator-smotif.real communicator-dmotif.real communicator-smotif communicator-dmotif netscape-navigator netscape-communicator"" ########################################################### ## No luser-serviceable settings below this line (I hope). ########################################################### for signal in -TERM -INT -HUP -KILL do sleep 1 for binary in $BINARIES do sleep 1 echo "$KILLER $signal $binary" $KILLER $signal $binary sleep 1 done sleep 1 done # vim: set ft=sh :