summaryrefslogtreecommitdiffstats
path: root/core/modules/etherwake/data/opt/openslx/scripts/udev-disable_pause_frames
blob: f5d3ba3afbd805553e24f41777b5432928bb13b5 (plain) (blame)
1
2
3
4
5
6
7
#!/bin/ash

# Hide exit code to avoid udev spam
ethtool -A "$1" autoneg off rx off tx off
ret=$?
[ "$ret" = 76 ] && exit 0
exit "$ret"