first commit
This commit is contained in:
commit
d9ad30ccf3
2899 files changed
+168823
No files matched your search
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
ETHTOOL=/sbin/ethtool
|
||||
|
||||
test -x $ETHTOOL || exit 0
|
||||
|
||||
[ "$IFACE" != "lo" ] || exit 0
|
||||
|
||||
# Gather together the mixed bag of settings applied with -s/--change
|
||||
SETTINGS="\
|
||||
${IF_ETHERNET_PORT:+ port $IF_ETHERNET_PORT}\
|
||||
${IF_DRIVER_MESSAGE_LEVEL:+ msglvl $IF_DRIVER_MESSAGE_LEVEL}\
|
||||
"
|
||||
[ -z "$SETTINGS" ] || $ETHTOOL --change "$IFACE" $SETTINGS
|
||||
Reference in new issue
Block a user