summaryrefslogtreecommitdiffstats
path: root/build_tools/clarch/larch/profiles/i686-testing-REMOTE/rootoverlay/etc/rc.local
diff options
context:
space:
mode:
Diffstat (limited to 'build_tools/clarch/larch/profiles/i686-testing-REMOTE/rootoverlay/etc/rc.local')
-rwxr-xr-xbuild_tools/clarch/larch/profiles/i686-testing-REMOTE/rootoverlay/etc/rc.local13
1 files changed, 9 insertions, 4 deletions
diff --git a/build_tools/clarch/larch/profiles/i686-testing-REMOTE/rootoverlay/etc/rc.local b/build_tools/clarch/larch/profiles/i686-testing-REMOTE/rootoverlay/etc/rc.local
index a436fe5..2d488a2 100755
--- a/build_tools/clarch/larch/profiles/i686-testing-REMOTE/rootoverlay/etc/rc.local
+++ b/build_tools/clarch/larch/profiles/i686-testing-REMOTE/rootoverlay/etc/rc.local
@@ -23,10 +23,6 @@ function install_db {
}
-#check network parms
-stat_busy "Checking network"
-init_network
-stat_done
#check to see if mysql is running
@@ -57,6 +53,15 @@ do
done
stat_done
+#check network parms
+stat_busy "Checking network"
+init_network
+stat_done
+
+stat_busy "Probing network"
+request_dhcp &
+stat_done
+
#save some cmdline options
stat_busy "Parsing command line"
parse_cmdline_2_db