aboutsummaryrefslogtreecommitdiffstats
path: root/packages/ifstated.xml
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-03-03 01:49:38 +0000
committerColin Smith <colin@pfsense.org>2005-03-03 01:49:38 +0000
commitb75c57f8dcffb49b19f3a47dd005d1edf5d88f85 (patch)
tree3ddd9cd43516294db2c97fb24c6b4416313ce29e /packages/ifstated.xml
parent9dfdfcef0604813948caa723ff7f70d5b95bba06 (diff)
downloadpfsense-packages-b75c57f8dcffb49b19f3a47dd005d1edf5d88f85.tar.gz
pfsense-packages-b75c57f8dcffb49b19f3a47dd005d1edf5d88f85.tar.bz2
pfsense-packages-b75c57f8dcffb49b19f3a47dd005d1edf5d88f85.zip
If $_POST is not defined use config.xml data instead.
Diffstat (limited to 'packages/ifstated.xml')
-rw-r--r--packages/ifstated.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/ifstated.xml b/packages/ifstated.xml
index d1dd0dcd..d5901412 100644
--- a/packages/ifstated.xml
+++ b/packages/ifstated.xml
@@ -71,6 +71,7 @@
conf_mount_rw();
config_lock();
global $config;
+ if ($_POST == "") $_POST = $config['installedpackages']['ifstated']['config'];
$fout = fopen("/usr/local/etc/ifstated.conf","w");
if($config['installedpackages']['ifstated']['config'] != "") {
fwrite($fout, "# This file was automatically generated by the pfSense\n# package management system.\n\n");