mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Merge branch 'test' into develop
This commit is contained in:
commit
aa1d05c9fc
3 changed files with 3 additions and 3 deletions
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh
|
||||
# Needed for some device, like rtl8156 2.5G USB adapter
|
||||
[ "$ACTION" = "ifup" ] && [ -n "$DEVICE" ] && [ -n "$(lsusb | grep 8156)" ] && ethtool -s $DEVICE autoneg on
|
||||
[ "$ACTION" = "ifup" ] && [ -n "$DEVICE" ] && [ -n "$(lsusb | grep 8156)" ] [ -n "$(ethtool $DEVICE | grep 2500)" ] && ethtool -s $DEVICE autoneg on
|
Loading…
Add table
Add a link
Reference in a new issue