2009-05-20 02:11:31 +02:00
|
|
|
#
|
2015-08-09 01:46:58 +02:00
|
|
|
# Shorewall version 5 - Findgw File
|
2009-05-20 02:11:31 +02:00
|
|
|
#
|
|
|
|
# /etc/shorewall/findgw
|
|
|
|
#
|
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.
|
|
|
|
#
|
|
|
|
###############################################################################
|