summaryrefslogtreecommitdiff
path: root/templates/protocols/static/route6
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-03-05 15:30:03 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-03-05 15:30:03 -0800
commit7e018e496706667c3c0d9cc074d479b3fc445bd9 (patch)
tree94635b213133edb6c3724d0bf7469b5588db386d /templates/protocols/static/route6
parent25d3ee90522b1056d9a25735c3e0c89e7b1eeae1 (diff)
downloadvyatta-cfg-quagga-7e018e496706667c3c0d9cc074d479b3fc445bd9.tar.gz
vyatta-cfg-quagga-7e018e496706667c3c0d9cc074d479b3fc445bd9.zip
Get rid of vyatta-vtysh
For SELinux policy, changing vyatta-quagga to use standard path values. This means not having to change policies.
Diffstat (limited to 'templates/protocols/static/route6')
-rw-r--r--templates/protocols/static/route6/node.tag/blackhole/node.def4
-rw-r--r--templates/protocols/static/route6/node.tag/next-hop/node.def6
2 files changed, 5 insertions, 5 deletions
diff --git a/templates/protocols/static/route6/node.tag/blackhole/node.def b/templates/protocols/static/route6/node.tag/blackhole/node.def
index a4066ee6..24b15560 100644
--- a/templates/protocols/static/route6/node.tag/blackhole/node.def
+++ b/templates/protocols/static/route6/node.tag/blackhole/node.def
@@ -1,12 +1,12 @@
help: Set to silently discard pkts when matched
end: if [ ${COMMIT_ACTION} = 'DELETE' ]; then
- vyatta-vtysh -c "configure terminal" \
+ vtysh -c "configure terminal" \
-c "no ipv6 route $VAR(../@) null0";
else
if [ -n "$VAR(./distance/@)" ]; then
DIST="$VAR(./distance/@)";
fi;
- vyatta-vtysh -c "configure terminal" \
+ vtysh -c "configure terminal" \
-c "ipv6 route $VAR(../@) null0 $DIST";
fi;
diff --git a/templates/protocols/static/route6/node.tag/next-hop/node.def b/templates/protocols/static/route6/node.tag/next-hop/node.def
index 3f90e757..4d123637 100644
--- a/templates/protocols/static/route6/node.tag/next-hop/node.def
+++ b/templates/protocols/static/route6/node.tag/next-hop/node.def
@@ -9,7 +9,7 @@ end:
if ${vyatta_sbindir}/vyatta-gateway-static_route-check.pl \
"$VAR(../@)" "$VAR(@)"
then
- vyatta-vtysh -c "configure terminal" \
+ vtysh -c "configure terminal" \
-c "no ipv6 route $VAR(../@) $VAR(@)"
fi
else
@@ -23,14 +23,14 @@ end:
INTERFACE="$VAR(./interface/@)"
fi
- vyatta-vtysh -c "configure terminal" \
+ vtysh -c "configure terminal" \
-c "ipv6 route $VAR(../@) $VAR(@) $INTERFACE $DIST";
fi
else
if ${vyatta_sbindir}/vyatta-gateway-static_route-check.pl \
"$VAR(../@)" "$VAR(@)"
then
- vyatta-vtysh -c "configure terminal" \
+ vtysh -c "configure terminal" \
-c "no ipv6 route $VAR(../@) $VAR(@)"
fi
fi