Commit edc1ac1a authored by Natanael Copa's avatar Natanael Copa
Browse files

setup-alpine: start networking in background early

It might take a few seconds to start the networking so we can do that
while user enter info about timezone and enters the password.

This reduces the waiting time.
parent 96fcb866
...@@ -111,6 +111,8 @@ if [ -n "$INTERFACESOPTS" ]; then ...@@ -111,6 +111,8 @@ if [ -n "$INTERFACESOPTS" ]; then
else else
$PREFIX/sbin/setup-interfaces $PREFIX/sbin/setup-interfaces
fi fi
# start the networking in background
/etc/init.d/networking --quiet start &
# setup up dns if no dhcp was configured # setup up dns if no dhcp was configured
grep '^iface.*dhcp' $ROOT/etc/network/interfaces > /dev/null ||\ grep '^iface.*dhcp' $ROOT/etc/network/interfaces > /dev/null ||\
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment