1
0
Fork 0
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:
Ycarus (Yannick Chabanois) 2021-05-28 17:51:34 +02:00
parent e47bb752b3
commit e6b9c2b499

View 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