From aaaf5a14856a76b9372d612dd7d52ad60f7b3fb0 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 29 Sep 2013 14:42:00 +0200 Subject: [PATCH] gluon-next-node: generated config: move prefix information out of next-node scope --- .../gluon-next-node/generate/etc/init.d/gluon-next-node | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package/gluon-next-node/generate/etc/init.d/gluon-next-node b/package/gluon-next-node/generate/etc/init.d/gluon-next-node index 963a63c8..bdf26fec 100755 --- a/package/gluon-next-node/generate/etc/init.d/gluon-next-node +++ b/package/gluon-next-node/generate/etc/init.d/gluon-next-node @@ -9,17 +9,17 @@ start() { ip link set local-node address @next_node.mac@ ip address add @next_node.ip4@/32 dev local-node - ip route add @next_node.prefix4@ dev br-freifunk + ip route add @prefix4@ dev br-freifunk ip address add @next_node.ip6@/128 dev local-node - ip route add @next_node.prefix6@ dev br-freifunk + ip route add @prefix6@ dev br-freifunk ip link set local-node up } stop() { - ip route del @next_node.prefix4@ dev br-freifunk - ip route del @next_node.prefix6@ dev br-freifunk + ip route del @prefix4@ dev br-freifunk + ip route del @prefix6@ dev br-freifunk ip link set local-node down ip link del local-node }