summaryrefslogtreecommitdiffstats
path: root/core/modules/etherwake/templates
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/etherwake/templates')
-rw-r--r--core/modules/etherwake/templates/99-enable-wol-disable-pause.rules (renamed from core/modules/etherwake/templates/99-enable-wol.rules)3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/modules/etherwake/templates/99-enable-wol.rules b/core/modules/etherwake/templates/99-enable-wol-disable-pause.rules
index 0a9d2fc3..719d872b 100644
--- a/core/modules/etherwake/templates/99-enable-wol.rules
+++ b/core/modules/etherwake/templates/99-enable-wol-disable-pause.rules
@@ -1,2 +1,5 @@
+# Enable WOL on boot NIC
ACTION=="add", SUBSYSTEM=="net", NAME=="eth0", RUN+="%ETHTOOL% -s $name wol g"
ACTION=="add", SUBSYSTEM=="net", NAME=="boot0", RUN+="%ETHTOOL% -s $name wol g"
+# Disaable pause frames on any adapter found
+ACTION=="add", SUBSYSTEM=="net", RUN+="%ETHTOOL% -A $name autoneg off rx off tx off"