From 31290c37a869748c3be8f4502dc20b2d2a606a11 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 9 Feb 2012 11:15:07 -0800 Subject: fix path to ethtool /sbin is not part of default user path. Therefore need to use full path to ethtool. --- templates/interfaces/ethernet/node.tag/disable-flow-control/node.def | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/interfaces') 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 -- cgit v1.2.3