From f2ea7ca51443f2fec41a6a3cbcf468fa84be2a90 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 3 Jun 2008 11:51:36 +0000 Subject: Let ifdown control all interfaces. --- init.d/net.lo.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init.d/net.lo.in') 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 -- cgit v1.2.3