diff options
author | Colin Smith <colin@pfsense.org> | 2005-03-03 01:49:38 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-03-03 01:49:38 +0000 |
commit | b75c57f8dcffb49b19f3a47dd005d1edf5d88f85 (patch) | |
tree | 3ddd9cd43516294db2c97fb24c6b4416313ce29e /packages | |
parent | 9dfdfcef0604813948caa723ff7f70d5b95bba06 (diff) | |
download | pfsense-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')
-rw-r--r-- | packages/ifstated.xml | 1 | ||||
-rw-r--r-- | packages/siproxd.xml | 1 |
2 files changed, 2 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"); diff --git a/packages/siproxd.xml b/packages/siproxd.xml index d35488bc..132e0e94 100644 --- a/packages/siproxd.xml +++ b/packages/siproxd.xml @@ -118,6 +118,7 @@ conf_mount_rw(); config_lock(); global $config; + if ($_POST == "") $_POST = $config['installedpackages']['siproxd']['config']; $fout = fopen("/usr/local/etc/siproxd.conf","w"); fwrite($fout, "# This file was automatically generated by the pfSense\n# package management system.\n\n"); if($_POST['if_inbound'] != "") { |