summaryrefslogtreecommitdiffstats
path: root/etc/inc/config.inc
Commit message (Collapse)AuthorAgeFilesLines
* Do not bail out when we write a new config. Seems that we can write some ↵Ermal2010-05-181-2/+2
| | | | special characters but might not be able to read them back but we still should be able to recover from this. Include globals.inc before calling any config.lib.inc functions.
* Do not try to upgrade from m0n0 config to pfSense config on every invocation ↵Ermal Luçi2010-03-031-2/+2
| | | | of config.inc but only during bootup, basically this gives a lot of speed up in GUI.
* remove old lint checkChris Buechler2010-02-011-6/+2
| | | | disable the already loaded config.inc check for the time being as it breaks things.
* Fix errors because of the function is_file_included is not yet declared in ↵Ermal Luçi2010-02-011-1/+1
| | | | some cases.
* Ticket #309. Correctly fix the problems of intermediate config lost because ↵Ermal Luçi2010-02-011-4/+2
| | | | of inclusion of config.inc. This might have speed impacts to be measured.
* Move newer xmlreader code to xmlreader.inc. Restore old xmlparse code to ↵Scott Ullrich2009-11-061-1/+4
| | | | xmlparse.inc. Default to the older xmlparse.inc but add a flag check if /cf/conf/use_xmlreader is present the newer code will be included instead until the remaining bugs can be resolved with it (see rcs for many).
* Call conf_mount_rw() and ro where neededScott Ullrich2009-10-151-1/+1
|
* remove functional code from config.inc and place it in a library file ↵Erik2009-10-071-1203/+2
| | | | config.lib.inc
* Add pfSense_BUILDER_BINARIES: and pfSense_MODULE: additionsScott Ullrich2009-09-121-0/+4
|
* Turn off auto assignment of interfaces code until the author can fix its issuesScott Ullrich2009-08-291-4/+5
|
* Merge branch 'master' of ↵Scott Ullrich2009-08-241-108/+191
|\ | | | | | | | | | | | | git://rcs.pfsense.org/pfsense/techneck-auto_interface into review/master Conflicts: etc/inc/config.inc
| * Adds automated interface setup + sshd for installation only.Tim Allender2009-07-171-109/+192
| |
* | * In config_install validate the file that will be installed not the already ↵Ermal Luçi2009-08-241-6/+10
| | | | | | | | | | | | | | | | present config! * Convert most hardcoded /tmp to the global variable * Do not reboot the firewall under the hood without confirmation from the user after restoring. Just ask the user to do it. * Fix various things in restore/backup code.
* | Unbreak config_restore()Scott Ullrich2009-08-231-4/+8
| |
* | Fix another wrong code.Ermal Luçi2009-08-211-2/+3
| | | | | | | | | | | | | | Initialize $config_parsed before even expecting things to work. Set $config_parsed value inside lock protected code to avoid races inside function. NOTE: That this still is racy, since the value of $config_parsed before being checked at the end of config.inc, but i will leave the task to the propper/sponsored person to fix!
* | Unbreak parse_config plugins and fix autoconfigbackupScott Ullrich2009-08-211-6/+10
| |
* | Remove extra plugin infoScott Ullrich2009-08-201-4/+0
| |
* | Check even if the file exists or not. Only checking filesize its not enough ↵Ermal Luçi2009-08-131-2/+2
|/ | | | for all cases.
* Set the memory limit to 128MScott Ullrich2009-07-091-1/+6
|
* Correct spacing for interfaces. Reload interfaces after assinging is changed ↵Ermal Luçi2009-07-091-1/+1
| | | | from console.
* There is not necessity to launch mount commands for nothing.Ermal Luçi2009-07-081-0/+3
|
* Check for an array before doing anything else. The array handling has ↵Ermal Luçi2009-07-031-2/+4
| | | | changed in PHP5.
* Print the correct interface name to be used. This is reported on Issue #19 ↵Ermal Luçi2009-07-031-2/+2
| | | | as a bug but really it is not.
* Convert even ssh key gen to the new subsystem_dirty calls.Ermal Luçi2009-07-011-1/+1
|
* Prevent recursive calls to conf_mount_*Ermal Luçi2009-07-011-1/+7
|
* Remove trailing /Scott Ullrich2009-07-011-1/+1
|
* Remove trailing /Scott Ullrich2009-07-011-1/+1
|
* Correct the name its parse_configScott Ullrich2009-06-301-4/+4
|
* * Reorganize the 'apply' button infrustructure in the GUI.Ermal Luçi2009-06-301-2/+2
| | | | | | - Present three new functions is/mark/clear_subsystem_dirty('name_of_subsystem'). This makes easier to create such things without needing to introduce new globals. - Convert all pages to the new infrustructure - This improves a lot the control on this notification
* Teach config about nanobsd platformScott Ullrich2009-06-271-2/+2
|
* No need to call conf_mount_rw() to generate config cache, its written to /tmpScott Ullrich2009-06-251-3/+1
|
* s/./_/ for vlans since netgraph does not like .(dots) in the path names.Ermal Luci2009-06-161-2/+2
|
* Include notices.inc to get the file_notice function.Ermal Luçi2009-06-101-2/+2
|
* Use $RealIf.vlan$tag interface names for vlans. This makes them more ↵Ermal Luçi2009-06-081-2/+2
| | | | userfriendly.
* Revert "Do not use tags for vlan interface names since there might be same ↵Ermal Luçi2009-06-081-4/+4
| | | | | | vlan tags on different parent interfaces and this will break configs and will hide the reason it does not work. Thanks-to: smos@" This reverts commit 83bdca55920ca6ab3d848f0993d57a1f9b85098f.
* Do not use tags for vlan interface names since there might be same vlan tags ↵Ermal Luçi2009-06-081-4/+4
| | | | on different parent interfaces and this will break configs and will hide the reason it does not work. Thanks-to: smos@
* Move Sync of config from filter.inc filter_reload to write_config and all ↵Ermal Luçi2009-05-221-0/+4
| | | | the code in a new file rc.filter_synchronize. The later is called by check_reload_status with the tmp/filter_sync action triggered with carp_sync_client() function. This solves the excessive syncing of configs on not needed cases and speedups the filter_configure_sync!
* Some more locking fixes.Ermal Luçi2009-05-111-0/+3
|
* Match the logic with other functions.Ermal Luçi2009-05-111-5/+5
|
* Fix logic.Ermal Luçi2009-05-091-2/+2
|
* * Create two new functions lock($subsystem)/unlock() to have more reliable ↵Ermal Luçi2009-05-081-105/+73
| | | | | | | | | | | locking using semaphores. This function can sleep till the resource is free and can help find not well behaving code. * Remove most of the config_lock/config_unlock logics on the whole scripts/pages it is an abuse of this. If any sybsytem wants to lock can do so with its own lock. * Lock the config when doing a filter reload to avoid parallell recursion on this function, since it is not reentrant. This compenstates for the removal of lock aquiring from the scripts/pages. * config_lock/config_unlock are now compate shims that do nothing. They are preserved since packages 'abuse' them too.
* Include crypt.inc explicitly.Ermal Luçi2009-04-301-0/+2
|
* * Shuffle functions around to reduce require_once() a little.Ermal Luçi2009-04-291-49/+5
|
* Fix vlan creation to use the interface tags and not numbers without any ↵Ermal Luçi2009-04-261-4/+2
| | | | meaning. Reported on http://forum.pfsense.org/index.php/topic,15861.0.html.
* touch up text, prevent "The second argument should be array or object" error ↵Chris Buechler2009-04-181-2/+3
| | | | when there are no interfaces detected.
* Remove ftp-proxy/pftpx/ftpsesame references we handle all of this in kernel ↵Ermal Luçi2009-03-161-96/+1
| | | | now.(yay!)
* missing semicolonBill Marquette2009-03-141-1/+1
|
* Move 1700 lines of config upgrade code into it's own include file that's onlyBill Marquette2009-03-141-1699/+14
| | | | brought in when we actually need to upgrade the config file
* Remove duplicate config.xml and restore conf.default/config.xml if ↵Bill Marquette2009-03-141-14/+2
| | | | /conf/config.xml and no backups exist
* Modify captive portal to use centralized user management. The user manager hasmgrooms2009-03-151-0/+26
| | | | been modified to include an account expiration option to support this service.
OpenPOWER on IntegriCloud