mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Force autonego on when iface is plugged
This commit is contained in:
parent
e47bb752b3
commit
e6b9c2b499
1 changed files with 3 additions and 0 deletions
3
openmptcprouter/files/etc/hotplug.d/iface/00-nego
Normal file
3
openmptcprouter/files/etc/hotplug.d/iface/00-nego
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# Needed for some device, like rtl8156 2.5G USB adapter
|
||||||
|
[ "$ACTION" = "ifup" ] && [ -n "$DEVICE" ] && ethtool -s $DEVICE autoneg on
|
Loading…
Add table
Add a link
Reference in a new issue