summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-03-11 21:15:18 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-03-11 21:15:18 -0700
commit5116c0fdb09a7e7c34298cd80622d59742e42359 (patch)
treeedd35f39cd3dc134409b52ab5990a556b9e1e595 /templates
parent2f01fa9fc9c5f050d4840bc0db22bfaae69b86e7 (diff)
downloadvyatta-cfg-5116c0fdb09a7e7c34298cd80622d59742e42359.tar.gz
vyatta-cfg-5116c0fdb09a7e7c34298cd80622d59742e42359.zip
Fix argument to show-interfaces to find vif
Need to do show=all
Diffstat (limited to 'templates')
-rw-r--r--templates/interfaces/ethernet/node.tag/disable/node.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/interfaces/ethernet/node.tag/disable/node.def b/templates/interfaces/ethernet/node.tag/disable/node.def
index b7fcd49..3d3ffef 100644
--- a/templates/interfaces/ethernet/node.tag/disable/node.def
+++ b/templates/interfaces/ethernet/node.tag/disable/node.def
@@ -1,6 +1,6 @@
help: Set interface disabled
-create: vif=`/opt/vyatta/sbin/vyatta-interfaces.pl --vif=$VAR(../@) --show`
- if [ ! -z $vif ]; then
+create: vif=`/opt/vyatta/sbin/vyatta-interfaces.pl --vif=$VAR(../@) --show=all`
+ if [ ! -z "$vif" ]; then
echo "Can not disable interface " $VAR(../@) " with vif:" $vif
exit 1
fi