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/bash | |
trap 'exit_with_reset; exit' SIGTERM SIGQUIT SIGINT SIGHUP | |
exit_with_reset() | |
{ | |
echo "Resetting network location" | |
scselect "Automatic" | |
} |
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 | |
# Script to create a CATALINA_BASE directory for your own tomcat | |
PROG=`basename $0` | |
TARGET="" | |
HPORT=8080 | |
CPORT=8005 | |
CWORD="SHUTDOWN" | |
warned=0 | |
warnlowport=0 |