From 7e018e496706667c3c0d9cc074d479b3fc445bd9 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 5 Mar 2010 15:30:03 -0800 Subject: Get rid of vyatta-vtysh For SELinux policy, changing vyatta-quagga to use standard path values. This means not having to change policies. --- templates/system/gateway-address/node.def | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'templates/system') diff --git a/templates/system/gateway-address/node.def b/templates/system/gateway-address/node.def index 6c2c61d2..c8772881 100644 --- a/templates/system/gateway-address/node.def +++ b/templates/system/gateway-address/node.def @@ -1,13 +1,13 @@ priority: 400 type: ipv4 help: Set default gateway -create: vyatta-vtysh -c "configure terminal" -c "ip route 0.0.0.0/0 $VAR(@)" +create: vtysh -c "configure terminal" -c "ip route 0.0.0.0/0 $VAR(@)" update: oldgw=`/opt/vyatta/sbin/vyatta-cli-expand-var.pl \\$VAR\(/system/gateway-address/@\)` if [ -n "$oldgw" ]; then - vyatta-vtysh --noerror -c "configure terminal" \ + vtysh --noerror -c "configure terminal" \ -c "no ip route 0.0.0.0/0 $oldgw" fi - vyatta-vtysh -c "configure terminal" -c "ip route 0.0.0.0/0 $VAR(@)" + vtysh -c "configure terminal" -c "ip route 0.0.0.0/0 $VAR(@)" delete: if ${vyatta_sbindir}/vyatta-gateway-static_route-check.pl "$VAR(@)" - then vyatta-vtysh -c "configure terminal" -c "no ip route 0.0.0.0/0 $VAR(@)" + then vtysh -c "configure terminal" -c "no ip route 0.0.0.0/0 $VAR(@)" fi -- cgit v1.2.3