"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "configfiles/isusable" between
shorewall6-5.2.3.6.tar.bz2 and shorewall6-5.2.6.tar.bz2

About: Shorewall (The Shoreline Firewall) is an iptables based firewall Requires the Shorewall package and adds the capability to create an IPv6 firewall.

isusable  (shorewall6-5.2.3.6.tar.bz2):isusable  (shorewall6-5.2.6.tar.bz2)
# #
# Shorewall6 -- /etc/shorewall6/isusable # Shorewall6 -- /etc/shorewall6/isusable
# #
# This script is called when Shorewall6 is attempting to determine # This script is called when Shorewall6 is attempting to determine
# if an interface named in /etc/shorewall6/providers is usable. # if an interface named in /etc/shorewall6/providers is usable.
# #
# The script is invoked inside a function that accepts an interface # The script is invoked inside a function that accepts an interface
# name as a single argument. The file below is designed to work with # name as a single argument. The file below is designed to work with
# both swping and lsm as described at # both swping and lsm as described at
# http://www.shorewall.net/MultiISP.html # https://shorewall.org/MultiISP.html
# #
# See http://shorewall.net/shorewall_extension_scripts.htm for additional # See https://shorewall.org/shorewall_extension_scripts.htm for additional
# information. # information.
# #
############################################################################### ###############################################################################
local status local status
status=0 status=0
[ -f ${VARDIR}/${1}.status ] && status=$(cat ${VARDIR}/${1}.status) [ -f ${VARDIR}/${1}.status ] && status=$(cat ${VARDIR}/${1}.status)
return $status return $status
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)