summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-scripts/conf.d/net.example')
-rw-r--r--net-scripts/conf.d/net.example4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-scripts/conf.d/net.example b/net-scripts/conf.d/net.example
index e13a842..ebf1236 100644
--- a/net-scripts/conf.d/net.example
+++ b/net-scripts/conf.d/net.example
@@ -674,10 +674,10 @@
#}
#postdown() {
-# # Enable Wake-On-LAN for the interface
+# # Enable Wake-On-LAN for every interface except for lo
# # Probably a good idea to set RC_DOWN_INTERFACE="no" in /etc/conf.d/rc
# # as well ;)
-# ethtool -s "${IFACE}" wol g
+# [[ ${IFACE} != "lo" ]] && ethtool -s "${IFACE}" wol g
#
# # Return 0 always
# return 0