mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-24 00:23:28 +01:00
01c45b8897
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9487 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
18 lines
483 B
Plaintext
18 lines
483 B
Plaintext
#
|
|
# Shorewall version 4 - 'isusable' sample script
|
|
#
|
|
# /etc/shorewall/isusable
|
|
#
|
|
# This script is a companion to the 'swping' script described at
|
|
# http://www.shorewall.net/MultiISP.html#swping.
|
|
#
|
|
# See http://shorewall.net/shorewall_extension_scripts.htm for additional
|
|
# information.
|
|
#
|
|
###############################################################################
|
|
local status=0
|
|
|
|
[ -f /etc/shorewall/${1}.status ] && status=$(cat /etc/shorewall/${1}.status)
|
|
|
|
return $status
|