summaryrefslogtreecommitdiff
path: root/setup-alpine.in
diff options
context:
space:
mode:
Diffstat (limited to 'setup-alpine.in')
-rw-r--r--setup-alpine.in6
1 files changed, 2 insertions, 4 deletions
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 ||\