aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/net.example.Linux.in2
-rw-r--r--init.d/net.lo.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/net.example.Linux.in b/doc/net.example.Linux.in
index 136072f0..28a2fb98 100644
--- a/doc/net.example.Linux.in
+++ b/doc/net.example.Linux.in
@@ -1010,7 +1010,7 @@
#postdown() {
# # 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
+# # Probably a good idea to set ifdown="no" in /etc/conf.d/net
# # as well ;)
# [ "${IFACE}" != "lo" ] && ethtool -s "${IFACE}" wol g
diff --git a/init.d/net.lo.in b/init.d/net.lo.in
index cce62e5a..4dadee91 100644
--- a/init.d/net.lo.in
+++ b/init.d/net.lo.in
@@ -668,7 +668,7 @@ stop()
if ! yesno ${IN_BACKGROUND} && \
[ "${IFACE}" != "lo" -a "${IFACE}" != "lo0" ]; then
eval module=\$ifdown_${IFVAR}
- module=${module:-YES}
+ module=${module:-${ifdown:-YES}}
yesno ${module} && _down 2>/dev/null
fi