We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26957f5 commit fc16b21Copy full SHA for fc16b21
tools/sysinv
@@ -279,7 +279,7 @@ sysinv_get_info_nics()
279
280
case "${platform}" in
281
Linux)
282
- for i in $( ls /sys/class/net ); do
+ for i in $( ${LS_CMD} /sys/class/net ); do
283
if [ -n "${nics}" ]; then
284
nic=s"${nics} ${i}"
285
else
@@ -288,7 +288,7 @@ sysinv_get_info_nics()
288
done
289
;;
290
*)
291
- for i in $(${IFCONFIG_CMD} -l); do
+ for i in $( ${IFCONFIG_CMD} -l ); do
292
case "${i%%[0-9]*}" in
293
ipfw|ppp|sl|lp|faith|fwe|fwip|plip|pfsync|pflog|tun|vboxnet|lo)
294
continue
0 commit comments