diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-03-11 21:15:54 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-03-11 21:15:54 -0700 |
commit | ae163395ef03ed9c3c194a1a95f81b6e16c2dbd1 (patch) | |
tree | edd35f39cd3dc134409b52ab5990a556b9e1e595 | |
parent | f76dd19d176cdbc83d899ad7df0d33c0e3e9abba (diff) | |
parent | 5116c0fdb09a7e7c34298cd80622d59742e42359 (diff) | |
download | vyatta-cfg-ae163395ef03ed9c3c194a1a95f81b6e16c2dbd1.tar.gz vyatta-cfg-ae163395ef03ed9c3c194a1a95f81b6e16c2dbd1.zip |
Merge branch 'jenner' of 192.168.100.1:git/vyatta-cfg into jenner
-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 |