diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2012-02-09 11:15:07 -0800 |
---|---|---|
committer | Stephen Hemminger <shemminger@vyatta.com> | 2012-02-09 11:15:07 -0800 |
commit | 31290c37a869748c3be8f4502dc20b2d2a606a11 (patch) | |
tree | a324e35c56ddaefe4c51cd57fda70061a509f22c /templates/interfaces/ethernet | |
parent | 80457532aaa4260119bfe876401719f3c8b5a234 (diff) | |
download | vyatta-cfg-system-31290c37a869748c3be8f4502dc20b2d2a606a11.tar.gz vyatta-cfg-system-31290c37a869748c3be8f4502dc20b2d2a606a11.zip |
fix path to ethtool
/sbin is not part of default user path.
Therefore need to use full path to ethtool.
Diffstat (limited to 'templates/interfaces/ethernet')
-rw-r--r-- | templates/interfaces/ethernet/node.tag/disable-flow-control/node.def | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/interfaces/ethernet/node.tag/disable-flow-control/node.def b/templates/interfaces/ethernet/node.tag/disable-flow-control/node.def index ef62b4e1..3553b36d 100644 --- a/templates/interfaces/ethernet/node.tag/disable-flow-control/node.def +++ b/templates/interfaces/ethernet/node.tag/disable-flow-control/node.def @@ -2,7 +2,7 @@ priority: 320 # Must run after interface is configured. help: Disable Ethernet flow control (pause frames) -create: ethtool --pause $VAR(../@) autoneg off tx off rx off +create: /sbin/ethtool --pause $VAR(../@) autoneg off tx off rx off delete: [ -d /sys/class/net/$VAR(../@) ] || exit 0 - ethtool --pause $VAR(../@) autoneg on tx on rx on + /sbin/ethtool --pause $VAR(../@) autoneg on tx on rx on |