From 2604a03f2105ed34bdd08817ee91bb653a478bf0 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 24 Jul 2001 20:47:06 +0000 Subject: do config expansion (NETMASK, PREFIX, etc) in a function, call it from ifdown (fixes #49777, #49783) --- sysconfig/network-scripts/ifdown | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sysconfig/network-scripts/ifdown') diff --git a/sysconfig/network-scripts/ifdown b/sysconfig/network-scripts/ifdown index a1a7c27a..3ccf4547 100755 --- a/sysconfig/network-scripts/ifdown +++ b/sysconfig/network-scripts/ifdown @@ -52,6 +52,8 @@ if [ "${NETWORKING_IPV6}" = "yes" ]; then /etc/sysconfig/network-scripts/ifdown-ipv6 ${CONFIG} fi +expand_config + retcode=0 if [ "$BOOTPROTO" = bootp -o "$BOOTPROTO" = dhcp ]; then [ -n "`pidof -x dhcpcd`" ] && { -- cgit v1.2.1