summaryrefslogtreecommitdiffstats
path: root/etc/inc/config.inc
Commit message (Collapse)AuthorAgeFilesLines
* Add a parameter on platform_booting to help detect if it's on GUI on console ↵Renato Botelho2014-11-281-1/+1
| | | | and use it in appropriate places, it fixes #4049
* Fix sapi name check to detect if it's on console, ticket #4049Renato Botelho2014-11-281-4/+4
|
* Remove the . here they just confuse things as in Ticket #4049. Also check ↵Ermal LUÇI2014-11-281-9/+1
| | | | that the script is called from console to trigger the convertion and mounting of floppy.
* Just indent code to make it more readble.Ermal LUÇI2014-11-261-102/+98
|
* Fix the function missing from config.inc. Spotted-by: gargaErmal LUÇI2014-11-261-0/+3
|
* Rather than set the g['booting'] on globals provide a function to test for ↵Ermal LUÇI2014-11-261-24/+19
| | | | that doing the right checks
* Actually to not change all scripts running both versions of console and gui ↵Ermal LUÇI2014-11-251-3/+1
| | | | just detect that the caller is through fpm-cgi and make it include config.gui.inc to avoid having issues in general from being called from wrong places.
* Provision for inclusion from different places.Ermal LUÇI2014-11-251-0/+2
|
* Do not let the config.inc to be included from GUI scripts.Ermal LUÇI2014-11-251-0/+5
|
* Convert almost all /sbin/sysctl calls to php functionsRenato Botelho2014-07-071-2/+2
|
* Add -n for 2 remaining sysctl calls, also replace backtick by execRenato Botelho2014-06-191-1/+1
|
* Add full path for dmesg and replace backtick by execRenato Botelho2014-06-191-1/+1
|
* Change ereg() to preg_match() functionccesario2012-06-301-1/+1
|
* Include util.inc and IPv6.inc before config.lib.inc.smos2012-06-011-3/+3
| | | | Several parts of the config upgrade relay on functions in these.
* Ensure timezone is setScott Ullrich2012-01-181-1/+1
|
* Merge remote-tracking branch 'upstream/master'jim-p2011-07-121-10/+11
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: etc/inc/easyrule.inc etc/inc/filter.inc etc/inc/interfaces.inc etc/inc/services.inc etc/inc/xmlrpc_client.inc usr/local/www/fbegin.inc usr/local/www/services_dhcp.php
| * Merge remote branch 'mainline/master' into incVinicius Coque2010-12-141-3/+10
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: etc/inc/auth.inc etc/inc/config.lib.inc etc/inc/filter.inc etc/inc/gwlb.inc etc/inc/interfaces.inc etc/inc/pfsense-utils.inc etc/inc/pkg-utils.inc etc/inc/shaper.inc etc/inc/upgrade_config.inc etc/inc/xmlparse.inc usr/local/www/fbegin.inc
| * | Implement gettext() calls on config.incCarlos Eduardo Ramos2010-08-161-11/+12
| | |
* | | Merge remote branch 'upstream/master'Seth Mos2010-12-201-3/+10
|\ \ \ | | |/ | |/| | | | | | | | | | | | | Conflicts: etc/inc/interfaces.inc etc/inc/vslb.inc usr/local/www/interfaces.php
| * | Use pfSense_sync()Scott Ullrich2010-11-301-2/+2
| | |
| * | Do not exec but use php_unameErmal2010-11-261-2/+2
| | |
| * | Nuke trailing c/rScott Ullrich2010-11-241-2/+2
| | |
| * | Set memory to 256M on amd64Scott Ullrich2010-11-241-2/+9
| | |
| * | Hopefully now the reinclusion of config will not override vars.Ermal2010-11-191-1/+1
| |/
* | Switch over the IPv6 functions from IPv6.inc, these are from the PHP PEAR ↵Seth Mos2010-10-261-1/+3
|/ | | | library
* Move all console related configuration items to config.console.inc. This ↵Scott Ullrich2010-08-091-1/+1
| | | | will mean that these items are not included when the webConfigurator is being used and only on bootup on the console.
* Set the timezone if available. This will minimize calls to the system for ↵Scott Ullrich2010-08-021-2/+6
| | | | tz data and should not have any negative side-effects.
* Remove trailing newlineScott Ullrich2010-07-271-1/+1
|
* Ticket #444. Use noatime even here.Ermal2010-05-251-1/+1
|
* 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
|
OpenPOWER on IntegriCloud