Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37897769
en ru br
ALT Linux repos
S:3.1-alt1

Group :: System/Servers
RPM: gvpe

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

#!/bin/sh
# A script that will be called immediately after
# the network interface is initialized
# Configure VPN tap interface here, or use etcnet

# If using etcnet just quit:
exit 0

/sbin/ip link set $IFNAME address $MAC mtu $MTU up

[ $NODENAME = first ] && /sbin/ip addr add 10.0.1.1/24 dev $IFNAME
[ $NODENAME = second ] && /sbin/ip addr add 10.0.1.2/24 dev $IFNAME
[ $NODENAME = third ] && /sbin/ip addr add 10.0.1.3/24 dev $IFNAME

/sbin/ip route add 10.0.0.0/8 dev $IFNAME
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin