summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/trex-cfg2
1 files changed, 2 insertions, 0 deletions
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