Code Review
/
trex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
ffba4ec
)
add /sbin to path in trex-cfg (for cases like running without shell)
author
Yaroslav Brustinov
<
[email protected]
>
Sun, 28 Aug 2016 15:25:32 +0000
(18:25 +0300)
committer
Yaroslav Brustinov
<
[email protected]
>
Sun, 28 Aug 2016 15:25:32 +0000
(18:25 +0300)
scripts/trex-cfg
patch
|
blob
|
history
diff --git
a/scripts/trex-cfg
b/scripts/trex-cfg
index
55eb18f
..
bec8b55
100755
(executable)
--- 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