initial commit
This commit is contained in:
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
# Disable EEE on USB ethernet (r8152): its idle power-save parks the backup WAN link
|
||||
# and breaks van-failover health probes. See wayback-campervan-ap memory.
|
||||
iface="$1"; action="$2"
|
||||
[ "$action" = "up" ] || exit 0
|
||||
case "$iface" in
|
||||
en*|eth*) /usr/sbin/ethtool --set-eee "$iface" eee off >/dev/null 2>&1 || true ;;
|
||||
esac
|
||||
Reference in New Issue
Block a user