summaryrefslogtreecommitdiff
path: root/setup-alpine.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-09-13 14:34:38 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-09-13 14:54:54 +0000
commitedc1ac1a289eab0c5ab5f0a540a00e66c01bb422 (patch)
treeeb82128087f0324974ede9a1c5b992e9d5342151 /setup-alpine.in
parent96fcb866a4c951ea21099ab3c252f547c274269b (diff)
downloadalpine-conf-edc1ac1a289eab0c5ab5f0a540a00e66c01bb422.zip
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.
Diffstat (limited to 'setup-alpine.in')
-rwxr-xr-xsetup-alpine.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/setup-alpine.in b/setup-alpine.in
index 0de96b4..82f09bc 100755
--- a/setup-alpine.in
+++ b/setup-alpine.in
@@ -111,6 +111,8 @@ if [ -n "$INTERFACESOPTS" ]; then
else
$PREFIX/sbin/setup-interfaces
fi
+# start the networking in background
+/etc/init.d/networking --quiet start &
# setup up dns if no dhcp was configured
grep '^iface.*dhcp' $ROOT/etc/network/interfaces > /dev/null ||\