From 2263e5dc29476453210062fd8f78ef51fda0dbfd Mon Sep 17 00:00:00 2001 From: Yaroslav Brustinov Date: Sun, 28 Aug 2016 18:25:32 +0300 Subject: add /sbin to path in trex-cfg (for cases like running without shell) --- scripts/trex-cfg | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts/trex-cfg') diff --git a/scripts/trex-cfg b/scripts/trex-cfg index 55eb18fb..bec8b554 100755 --- a/scripts/trex-cfg +++ b/scripts/trex-cfg @@ -37,6 +37,8 @@ for file in /sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepag fi done +PATH=$PATH:/sbin;/usr/sbin + if ! lsmod | grep -q igb_uio ; then echo "Loading kernel drivers for the first time" modprobe uio -- cgit 1.2.3-korg