aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-04-14 10:33:30 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-04-14 10:33:30 +0000
commit6e81bdc57790eb0816777711c4b4eda97076b5f1 (patch)
tree0b382944db90d4546885a6b3a92ad3226ee455f2
parentb21500f3de545fe42832ec5c7fa121f5051594fb (diff)
downloadalpine-conf-6e81bdc57790eb0816777711c4b4eda97076b5f1.tar.bz2
alpine-conf-6e81bdc57790eb0816777711c4b4eda97076b5f1.tar.xz
setup-alpine: make udhcpc quiet
udhcpc will print to stdout the ip addr it got. This gets in the way for the root password prompt so we redirect udhcpc to /dev/null
-rw-r--r--setup-alpine.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-alpine.in b/setup-alpine.in
index 7840300..5017b01 100644
--- a/setup-alpine.in
+++ b/setup-alpine.in
@@ -130,7 +130,7 @@ else
$PREFIX/sbin/setup-interfaces
fi
# start the networking in background
-/etc/init.d/networking --quiet start &
+/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 ||\