mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-08 16:54:10 +01:00
Remove Reliance on HOSTNAME in generated programs
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
82bb80cbba
commit
68f5215f07
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user