1
0
mirror of synced 2026-02-04 07:12:45 +00:00

2006-06-30 10:09:56 by steve

Bytemark: Add point-to-point setting.
This commit is contained in:
steve
2006-06-30 10:09:56 +00:00
parent c1c3f8900c
commit 7d3bd8633d

View File

@@ -57,6 +57,16 @@ E_O_DHCP
#
function setupStaticNetworking
{
#
# if $p2p is set then add a "pointtopoint" setting.
#
point='';
if [ ! -z "${p2p}" ]; then
point="pointtopoint ${p2p}"
else
point=''
fi
#
# We have a static IP address
#
@@ -64,7 +74,7 @@ function setupStaticNetworking
#
# First ethernet interface
#
config_eth0=( "${ip1} netmask ${netmask}" )
config_eth0=( "${ip1} ${point} netmask ${netmask}" )
routes_eth0=( "default via ${gateway}" )
E_O_STATIC