mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-28 08:29:28 +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)
|
status)
|
||||||
[ $# -ne 1 ] && usage 2
|
[ $# -ne 1 ] && usage 2
|
||||||
echo "$PRODUCT-$SHORWEALL_VERSION Status at $HOSTNAME - $(date)"
|
echo "$PRODUCT-$SHORWEALL_VERSION Status at $(hostname) - $(date)"
|
||||||
echo
|
echo
|
||||||
if shorewall_is_started; then
|
if shorewall_is_started; then
|
||||||
echo "$PRODUCT is running"
|
echo "$PRODUCT is running"
|
||||||
|
@ -214,7 +214,7 @@ else
|
|||||||
;;
|
;;
|
||||||
status)
|
status)
|
||||||
[ $# -ne 1 ] && usage 2
|
[ $# -ne 1 ] && usage 2
|
||||||
echo "$PRODUCT-$SHOREWALL_VERSION Status at $HOSTNAME - $(date)"
|
echo "$PRODUCT-$SHOREWALL_VERSION Status at $(hostname) - $(date)"
|
||||||
echo
|
echo
|
||||||
if shorewall6_is_started; then
|
if shorewall6_is_started; then
|
||||||
echo "$PRODUCT is running"
|
echo "$PRODUCT is running"
|
||||||
|
Loading…
Reference in New Issue
Block a user