aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-05-23 18:11:56 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2017-05-23 18:13:13 +0200
commit6dff59812d1aa3d1a97792f87a2418327360113b (patch)
tree96b27952644e78622d5a45f604a042565b085991
parent10167e0964af0c8d5a968b0be22e3c2f3c5f3646 (diff)
downloadalpine-conf-6dff59812d1aa3d1a97792f87a2418327360113b.tar.bz2
alpine-conf-6dff59812d1aa3d1a97792f87a2418327360113b.tar.xz
setup-alpine: start network in foreground
udhcpc will print info to stderr and it confuses the password prompt
-rw-r--r--setup-alpine.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup-alpine.in b/setup-alpine.in
index 7b58970..d04482d 100644
--- a/setup-alpine.in
+++ b/setup-alpine.in
@@ -129,8 +129,8 @@ if [ -n "$INTERFACESOPTS" ]; then
else
$PREFIX/sbin/setup-interfaces
fi
-# start the networking in background
-/etc/init.d/networking --quiet start >/dev/null &
+# 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 ||\