From 64e3039639c9753437382b5bd2bb8344ad1ad9dc Mon Sep 17 00:00:00 2001 From: James Meyer Date: Mon, 13 Jul 2009 11:48:05 -0500 Subject: profile: move network after mysql, otherwise changes are lost. add call to request_dhcp --- .../profiles/i686-testing-REMOTE/rootoverlay/etc/rc.local | 13 +++++++++---- .../i686-testing-local-httpd/rootoverlay/etc/rc.local | 13 +++++++++---- .../profiles/i686-testing-local/rootoverlay/etc/rc.local | 13 +++++++++---- 3 files changed, 27 insertions(+), 12 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 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 diff --git a/build_tools/clarch/larch/profiles/i686-testing-local/rootoverlay/etc/rc.local b/build_tools/clarch/larch/profiles/i686-testing-local/rootoverlay/etc/rc.local index a436fe5..2d488a2 100755 --- a/build_tools/clarch/larch/profiles/i686-testing-local/rootoverlay/etc/rc.local +++ b/build_tools/clarch/larch/profiles/i686-testing-local/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 -- cgit v0.12