2009-05-20 02:11:31 +02:00
|
|
|
#
|
2015-11-09 22:04:00 +01:00
|
|
|
# Shorewall -- /etc/shorewall/findgw
|
2009-05-20 02:11:31 +02:00
|
|
|
#
|
2014-05-19 23:18:48 +02:00
|
|
|
# The code in this file is executed when Shorewall is trying to detect the
|
|
|
|
# gateway through an interface in /etc/shorewall/providers that has GATEWAY
|
|
|
|
# specified as 'detect'.
|
2009-05-20 02:11:31 +02:00
|
|
|
#
|
2014-05-19 23:18:48 +02:00
|
|
|
# The function should echo the IP address of the gateway if it knows what
|
|
|
|
# it is; the name of the interface is in $1.
|
2009-05-20 02:11:31 +02:00
|
|
|
#
|
|
|
|
# See http://shorewall.net/shorewall_extension_scripts.htm for additional
|
|
|
|
# information.
|
|
|
|
#
|
|
|
|
###############################################################################
|