summaryrefslogtreecommitdiff
path: root/init.d/net.lo.in
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/net.lo.in')
-rw-r--r--init.d/net.lo.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/net.lo.in b/init.d/net.lo.in
index cce62e5..4dadee9 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