From 39c91c1486c55ce1ee3ec1e646032d04e21406ed Mon Sep 17 00:00:00 2001 From: Lukas Bestle Date: Sat, 10 Jul 2021 13:42:34 +0200 Subject: setup-interfaces: New -r flag to restart service Fixes #10480. Fixes #10484. --- setup-alpine.in | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'setup-alpine.in') diff --git a/setup-alpine.in b/setup-alpine.in index 392290b..4ffae48 100644 --- a/setup-alpine.in +++ b/setup-alpine.in @@ -128,12 +128,10 @@ if [ "$rc_sys" != LXC ]; then fi if [ -n "$INTERFACESOPTS" ]; then - printf "$INTERFACESOPTS" | $PREFIX/sbin/setup-interfaces -i + printf "$INTERFACESOPTS" | $PREFIX/sbin/setup-interfaces -ir else - $PREFIX/sbin/setup-interfaces ${quick:+-a} + $PREFIX/sbin/setup-interfaces ${quick:+-a} -r fi -# start the networking -/etc/init.d/networking --quiet start >/dev/null # setup up dns if no dhcp was configured grep '^iface.*dhcp' $ROOT/etc/network/interfaces > /dev/null ||\ -- cgit v1.2.3