gluon-next-node: fix interface names

This commit is contained in:
Matthias Schiffer 2013-09-30 14:36:53 +02:00
parent 1044a446b8
commit b6045bb1aa

View File

@ -5,21 +5,21 @@ START=95
start() {
ip link add link br-mesh name local-node type macvlan
ip link add link br-client name local-node type macvlan
ip link set local-node address @next_node.mac@
ip address add @next_node.ip4@/32 dev local-node
ip route add @prefix4@ dev br-freifunk
ip route add @prefix4@ dev br-client
ip address add @next_node.ip6@/128 dev local-node
ip route add @prefix6@ dev br-freifunk
ip route add @prefix6@ dev br-client
ip link set local-node up
}
stop() {
ip route del @prefix4@ dev br-freifunk
ip route del @prefix6@ dev br-freifunk
ip route del @prefix4@ dev br-client
ip route del @prefix6@ dev br-client
ip link set local-node down
ip link del local-node
}