diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-06-18 22:03:45 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-06-18 22:03:45 +0000 |
commit | d97ba1ec90f48fe4162ac1c44806a46b148100c8 (patch) | |
tree | 4950f8f8422a9e9c5affe89f4d16c291f104edd6 /etc | |
parent | 947b72306048c65bff9230cd4e06b76d3306cc79 (diff) | |
download | pfsense-d97ba1ec90f48fe4162ac1c44806a46b148100c8.zip pfsense-d97ba1ec90f48fe4162ac1c44806a46b148100c8.tar.gz |
debugging lines
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/config.inc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc index 248e630..289a752 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -38,12 +38,16 @@ POSSIBILITY OF SUCH DAMAGE. */ +echo "1"; + /* include globals/utility/XML parser files */ require_once("globals.inc"); require_once("util.inc"); require_once("pfsense-utils.inc"); require_once("xmlparse.inc"); +echo "2"; + /* read platform */ if (file_exists("{$g['etc_path']}/platform")) { $g['platform'] = chop(file_get_contents("{$g['etc_path']}/platform")); @@ -51,6 +55,8 @@ if (file_exists("{$g['etc_path']}/platform")) { $g['platform'] = "unknown"; } +echo "3"; + /* if our config file exists bail out, we're already set. */ if ($g['booting'] and !file_exists($g['cf_conf_path'] . "/config.xml") ) { /* find the device where config.xml resides and write out an fstab */ @@ -149,8 +155,12 @@ EOD; mwexec("/sbin/mount -a"); } +echo "4"; + $config = parse_config(); +echo "5"; + /****f* config/parse_config * NAME * parse_config - Read in config.cache or config.xml if needed and return $config array |