Lines 31-36
Link Here
|
31 |
[ -z "${args}" ] && continue |
31 |
[ -z "${args}" ] && continue |
32 |
|
32 |
|
33 |
# Split on \n |
33 |
# Split on \n |
|
|
34 |
OIFS="${IFS}" |
34 |
local IFS="$__IFS" |
35 |
local IFS="$__IFS" |
35 |
|
36 |
|
36 |
for p in ${args} ; do |
37 |
for p in ${args} ; do |
Lines 38-43
Link Here
|
38 |
local args_pretty="$(_trim "${p}")" |
39 |
local args_pretty="$(_trim "${p}")" |
39 |
# Do nothing if empty |
40 |
# Do nothing if empty |
40 |
[ -z "${args_pretty}" ] && continue |
41 |
[ -z "${args_pretty}" ] && continue |
|
|
42 |
[ "${opt}" = "ring" ] && opt="set-ring" |
41 |
args_pretty="--${opt} $IFACE ${args_pretty}" |
43 |
args_pretty="--${opt} $IFACE ${args_pretty}" |
42 |
args="--${opt} $IFACE ${args}" |
44 |
args="--${opt} $IFACE ${args}" |
43 |
ebegin "ethtool ${args_pretty}" |
45 |
ebegin "ethtool ${args_pretty}" |