diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-03-11 21:15:18 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-03-11 21:15:18 -0700 |
commit | 5116c0fdb09a7e7c34298cd80622d59742e42359 (patch) | |
tree | edd35f39cd3dc134409b52ab5990a556b9e1e595 /templates | |
parent | 2f01fa9fc9c5f050d4840bc0db22bfaae69b86e7 (diff) | |
download | vyatta-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.def | 4 |
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 |