summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-03-20 05:30:45 +0000
committerBill Marquette <billm@pfsense.org>2005-03-20 05:30:45 +0000
commite07b803398138d9d8d650ba4a02a72095167ef37 (patch)
tree5118672d6a2f9ccb8de98b09b8faa1486ec09fe5 /etc
parent563461bcaf2a37144f8dc777e258121ff6edf56c (diff)
downloadpfsense-e07b803398138d9d8d650ba4a02a72095167ef37.zip
pfsense-e07b803398138d9d8d650ba4a02a72095167ef37.tar.gz
Tell what config.xml wasn't loaded
Add description to write_config() in initial interface setup
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/config.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc
index e594240..4786ba0 100644
--- a/etc/inc/config.inc
+++ b/etc/inc/config.inc
@@ -523,7 +523,7 @@ function write_config($desc="Non-described system change") {
$fd = fopen("{$g['cf_conf_path']}/config.xml", "w");
if (!$fd)
- die("Unable to open config.xml for writing in write_config()\n");
+ die("Unable to open "{$g['cf_conf_path']}/config.xml for writing in write_config()\n");
fwrite($fd, $xmlconfig);
fclose($fd);
@@ -820,7 +820,7 @@ EOD;
for (; isset($config['interfaces']['opt' . ($i+1)]); $i++)
unset($config['interfaces']['opt' . ($i+1)]);
- write_config();
+ write_config("NIC reconfigure");
if(!$noreboot) echo "\npfSense is now rebooting.\n";
OpenPOWER on IntegriCloud