diff options
author | Yaroslav Brustinov <ybrustin@cisco.com> | 2016-08-28 18:25:32 +0300 |
---|---|---|
committer | Yaroslav Brustinov <ybrustin@cisco.com> | 2016-08-28 18:25:32 +0300 |
commit | 2263e5dc29476453210062fd8f78ef51fda0dbfd (patch) | |
tree | 01aae60324f1d0ecbb3ef6a9cb1c9161affbf068 /scripts | |
parent | ffba4ec1e5ce3a2308ff01733ffb249783176ecd (diff) |
add /sbin to path in trex-cfg (for cases like running without shell)
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/trex-cfg | 2 |
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 |