add /sbin to path in trex-cfg (for cases like running without shell)
authorYaroslav Brustinov <[email protected]>
Sun, 28 Aug 2016 15:25:32 +0000 (18:25 +0300)
committerYaroslav Brustinov <[email protected]>
Sun, 28 Aug 2016 15:25:32 +0000 (18:25 +0300)
scripts/trex-cfg

index 55eb18f..bec8b55 100755 (executable)
@@ -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