diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-03-05 15:30:03 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-03-05 15:30:03 -0800 |
commit | 7e018e496706667c3c0d9cc074d479b3fc445bd9 (patch) | |
tree | 94635b213133edb6c3724d0bf7469b5588db386d /templates/policy/prefix-list | |
parent | 25d3ee90522b1056d9a25735c3e0c89e7b1eeae1 (diff) | |
download | vyatta-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/policy/prefix-list')
-rw-r--r-- | templates/policy/prefix-list/node.tag/rule/node.def | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/policy/prefix-list/node.tag/rule/node.def b/templates/policy/prefix-list/node.tag/rule/node.def index 977f5300..5b97a5f0 100644 --- a/templates/policy/prefix-list/node.tag/rule/node.def +++ b/templates/policy/prefix-list/node.tag/rule/node.def @@ -13,7 +13,7 @@ delete: touch /tmp/protocols-$VAR(../@)-$VAR(@).$PPID ; if [ -n "$VAR(./le/@)" ]; then cond="$cond le $VAR(./le/@) "; fi; - vyatta-vtysh -c "configure terminal" \ + vtysh -c "configure terminal" \ -c "no ip prefix-list $VAR(../@) seq $VAR(@) $VAR(./action/@) $VAR(./prefix/@) $cond " end: len=`echo $VAR(./prefix/@) | awk -F/ '{ print $2 }'` ; if [ -n "$VAR(./ge/@)" ]; then @@ -33,7 +33,7 @@ end: len=`echo $VAR(./prefix/@) | awk -F/ '{ print $2 }'` ; if [ -f "/tmp/protocols-$VAR(../@)-$VAR(@).$PPID" ]; then rm -f "protocols-$VAR(../@)-$VAR(@).$PPID" ; else - vyatta-vtysh -c "configure terminal" \ + vtysh -c "configure terminal" \ -c "ip prefix-list $VAR(../@) seq $VAR(@) $VAR(./action/@) $VAR(./prefix/@) $cond " ; fi ; exit 0 ; |