This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Checks to see whether WRE Console is running; this is a major security risk. | |
host=`uname -n` | |
if ps ax | grep -v 'grep' | grep 'wreconsole.pl' > /dev/null | |
then | |
echo "WRE Console is running on $host." | |
else |