summaryrefslogtreecommitdiffstats
path: root/build_tools/clarch/larch/profiles/i686-testing-local-httpd/rootoverlay
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-07-13 16:48:05 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-07-13 16:48:05 (GMT)
commit64e3039639c9753437382b5bd2bb8344ad1ad9dc (patch)
tree40af171dcaff4698fbdf90ece08cdf6be2bed494 /build_tools/clarch/larch/profiles/i686-testing-local-httpd/rootoverlay
parentdb4027b6ff40921c014f0d99c6e6c58f7750ccee (diff)
downloadlinhes_dev-64e3039639c9753437382b5bd2bb8344ad1ad9dc.zip
profile: move network after mysql, otherwise changes are lost.
add call to request_dhcp
Diffstat (limited to 'build_tools/clarch/larch/profiles/i686-testing-local-httpd/rootoverlay')
-rwxr-xr-xbuild_tools/clarch/larch/profiles/i686-testing-local-httpd/rootoverlay/etc/rc.local13
1 files changed, 9 insertions, 4 deletions
diff --git a/build_tools/clarch/larch/profiles/i686-testing-local-httpd/rootoverlay/etc/rc.local b/build_tools/clarch/larch/profiles/i686-testing-local-httpd/rootoverlay/etc/rc.local
index a436fe5..2d488a2 100755
--- a/build_tools/clarch/larch/profiles/i686-testing-local-httpd/rootoverlay/etc/rc.local
+++ b/build_tools/clarch/larch/profiles/i686-testing-local-httpd/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