mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-24 16:43:21 +01:00
be924ff765
Also removes deprecated Shorewall6/configfiles/masq Signed-off-by: Tuomo Soini <tis@foobar.fi> Signed-off-by: Tom Eastep <teastep@shorewall.net>
23 lines
669 B
Plaintext
23 lines
669 B
Plaintext
#
|
|
# Shorewall -- /etc/shorewall/isusable
|
|
#
|
|
# This script is called when Shorewall is attempting to determine
|
|
# if an interface named in /etc/shorewall/providers is usable.
|
|
#
|
|
# The script is invoked inside a function that accepts an interface
|
|
# name as a single argument. The file below is designed to work with
|
|
# both swping and lsm as described at
|
|
# https://shorewall.org/MultiISP.html
|
|
#
|
|
# See https://shorewall.org/shorewall_extension_scripts.htm for additional
|
|
# information.
|
|
#
|
|
###############################################################################
|
|
|
|
local status
|
|
status=0
|
|
|
|
[ -f ${VARDIR}/${1}.status ] && status=$(cat ${VARDIR}/${1}.status)
|
|
|
|
return $status
|