           SPELL=e_module-execwatch
if  [[  "$E_MODULE_EXECWATCH_CVS_AUTOUPDATE"  ==  "y"  ]];  then
         VERSION=$(date +%Y%m%d)
else
         VERSION=svn
fi
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-svn
          SOURCE=$SPELL-svn.tar.bz2
   SOURCE_URL[0]=svn_http://svn.enlightenment.org/svn/e/trunk/E-MODULES-EXTRA/${SPELL/*-/}:$SPELL
   SOURCE_IGNORE=volatile
  FORCE_DOWNLOAD="on"
      LICENSE[0]=BSD
        WEB_SITE=http://www.enlightenment.org/
        KEYWORDS="enlightenment"
         ENTERED=20080117
           SHORT='Enlightenment executable exit status notification'
cat << EOF
Enlightenment 17 module monitor commands and adds an icon to the shelf.
Whenever the exitcode or an expected string changes the icon changes as well.

Some example ideas:

Updates (don't forget to add a cronjob for updating the sources):
- Debian:
  - status command:  aptitude -s -y dist-upgrade
  - expected string: Need to get 0B
  - doubleclick cmd: update-manager
- Crux:
  - status command:  ports -d
  - expected string: No differences found
  - doubleclick cmd: xterm -hold -e sudo prt-get sysup

Checking Hosts:
  - status command:    ping -c 5 www.enlightenment.org
  - expected exitcode: 0

There are many more different possibilities.
The command output can be viewed in a mouse over popup.
EOF
