Remove Reliance on HOSTNAME in generated programs

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2010-03-02 11:45:35 -08:00
parent 82bb80cbba
commit 68f5215f07
2 changed files with 2 additions and 2 deletions

View File

@ -213,7 +213,7 @@ case "$COMMAND" in
;;
status)
[ $# -ne 1 ] && usage 2
echo "$PRODUCT-$SHORWEALL_VERSION Status at $HOSTNAME - $(date)"
echo "$PRODUCT-$SHORWEALL_VERSION Status at $(hostname) - $(date)"
echo
if shorewall_is_started; then
echo "$PRODUCT is running"

View File

@ -214,7 +214,7 @@ else
;;
status)
[ $# -ne 1 ] && usage 2
echo "$PRODUCT-$SHOREWALL_VERSION Status at $HOSTNAME - $(date)"
echo "$PRODUCT-$SHOREWALL_VERSION Status at $(hostname) - $(date)"
echo
if shorewall6_is_started; then
echo "$PRODUCT is running"