summaryrefslogtreecommitdiffstats
path: root/etc/inc/config.lib.inc
Commit message (Collapse)AuthorAgeFilesLines
* Add button to switch between read/write and read-only on Diag > NanoBSD; Add ↵jim-p2012-11-121-4/+7
| | | | setting to keep the media read/write at all times; Add indication of ro/rw status on Dashboard.
* Make sure admin can always write the configjim-p2012-10-091-1/+1
|
* Add initial support for a privilege that denies write access to the config.jim-p2012-10-091-0/+5
| | | | NOTE: This only prevents writing to config.xml - it does NOT prevent other changes/execution that do not involve writing to config.xml (e.g. applying settings, exec, killing states, etc)
* Remove extra curly to allow checking braces closure easily in vi[m]Ermal2012-08-141-1/+1
|
* The function split() is replaced by the function explode(). Starting with ↵smos2012-01-191-1/+1
| | | | | | PHP 5.3 this is deprecated and with version 6 gone. Replacing it surpresses all the warnings
* Add version to backup.cache in one more placejim-p2011-11-221-1/+4
|
* Also show the config version in the backup history.jim-p2011-11-221-3/+5
|
* Setup the serial port in the factory reset as well, in case the default ↵jim-p2011-11-211-1/+1
| | | | config in a rebrand has the serial console active.
* Ticket #1279. Decrease the refcount even though we're in booting phase. This ↵Ermal2011-08-171-2/+2
| | | | helps the refcount to work as intended and help in making filesystem read only correctly on embedded platfroms. While here put some exceptions to refcount API and silent any related errors that might trigger. Also take not of the NOTE on the php manual that after a share memory is opened further references to it for size and access mode should be 0.
* Merge remote-tracking branch 'mainline/master' into incVinicius Coque2011-07-061-0/+2
|\ | | | | | | | | Conflicts: etc/inc/priv.defs.inc
| * Use empty() so we don't use it if it's defined but blank.jim-p2011-07-011-1/+1
| |
| * If available, also track the IP used by a user making a config change.jim-p2011-07-011-0/+2
| |
* | Merge remote-tracking branch 'mainline/master' into incVinicius Coque2011-06-201-1/+3
|\ \ | |/
| * Do a more thorough check for platform on the ro call, or factory reset blows up.jim-p2011-06-161-1/+3
| |
* | Merge remote-tracking branch 'mainline/master' into incVinicius Coque2011-04-151-2/+9
|\ \ | |/ | | | | | | Conflicts: etc/inc/gwlb.inc
| * Fixup text.jim-p2011-04-061-2/+2
| |
| * Actually re-parse the config if a valid config was not written. (Should help ↵jim-p2011-04-061-2/+9
| | | | | | | | stop installs from blowing up on failed config upgrades). Save the bad config for inspection, and print a message to the console about what was done.
* | Merge remote-tracking branch 'mainline/master' into incVinicius Coque2011-03-311-1/+2
|\ \ | |/
| * Check for function existence before calling it.Ermal2011-03-301-1/+2
| |
* | Merge remote-tracking branch 'mainline/master' into incVinicius Coque2011-03-291-7/+4
|\ \ | |/ | | | | | | Conflicts: etc/inc/voucher.inc
| * Backing this out to see if it unbreaks NanoBSD upgrades with packages ↵jim-p2011-03-261-8/+5
| | | | | | | | | | | | involved. Revert "Workaround for conf_mount_rw/ro during boot to only allow it to change at the start and end. Fixes #1279" This reverts commit 548be1fd6697ab115cbb29d61bc5507744488094.
* | Merge remote-tracking branch 'mainline/master' into incVinicius Coque2011-03-251-4/+12
|\ \ | |/ | | | | | | | | | | | | Conflicts: etc/inc/interfaces.inc etc/inc/priv.defs.inc etc/inc/shaper.inc etc/inc/system.inc
| * Workaround for conf_mount_rw/ro during boot to only allow it to change at ↵Erik Fonnesbeck2011-03-221-5/+8
| | | | | | | | the start and end. Fixes #1279
| * Add code to allow custom upgrade code to run after the pfSense upgrade code ↵Ermal2011-03-151-1/+6
| | | | | | | | for the same version switching(Just the custom upgrade functions should have _custom at the end of their name.
* | Merge remote-tracking branch 'mainline/master' into incVinicius Coque2011-03-251-52/+10
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: etc/inc/auth.inc etc/inc/config.lib.inc etc/inc/filter.inc etc/inc/pfsense-utils.inc etc/inc/pkg-utils.inc etc/inc/priv.defs.inc etc/inc/services.inc etc/inc/shaper.inc etc/inc/voucher.inc etc/inc/vpn.inc usr/local/www/fbegin.inc
| * When doing conf_mount_ro/rw on NanoBSD, pass sync,noatime to mount to ↵jim-p2011-03-071-6/+6
| | | | | | | | preserve the options we have already set in fstab. Ticket #1279 and Ticket #444
| * Comment out the "config write on bootup" error. This is normal now with the ↵jim-p2011-02-161-0/+4
| | | | | | | | package reinstall, and the known issues with it should be OK now. The error is just confusing people.
* | Merge branch 'master' into incVinicius Coque2011-01-281-33/+82
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: etc/inc/captiveportal.inc etc/inc/config.console.inc etc/inc/config.lib.inc etc/inc/easyrule.inc etc/inc/filter.inc etc/inc/ipsec.inc etc/inc/pkg-utils.inc etc/inc/shaper.inc etc/inc/system.inc etc/inc/voucher.inc
| * Better way to determine the username for config descrsjim-p2011-01-181-2/+4
| |
| * Fix variable name referencejim-p2011-01-181-1/+1
| |
| * Stop spewing backup info on bootupScott Ullrich2011-01-071-1/+1
| |
| * Add back booting check that existed prior to refcount code. We will improve ↵Scott Ullrich2011-01-071-1/+4
| | | | | | | | upon this next week.
| * Improve parse_config to not be recursive for no reason. This fixes some ↵Ermal2010-12-301-54/+52
| | | | | | | | strange cases of config lock being left held and blocking GUI.
| * Add some more safe belts and remove code that is commented from long time ↵Ermal2010-12-231-1/+4
| | | | | | | | now. Reported on http://forum.pfsense.org/index.php/topic,28202.15.html
| * nuke trailing carriage returnsScott Ullrich2010-12-221-1/+1
| |
| * No need to output 'Loading new configuration'. We already have a line ↵Scott Ullrich2010-12-181-3/+0
| | | | | | | | written out telling the user what we are doing
* | Merge remote branch 'mainline/master' into incVinicius Coque2010-12-141-22/+59
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Do a fflush of file before closing and sync(2). Fix whitespace while here.Ermal2010-11-301-20/+21
| |
| * Use pfSense_sync()Scott Ullrich2010-11-301-3/+3
| |
| * Call sync after writing the file and before returning to continue processing.Scott Ullrich2010-11-301-18/+22
| |
| * Use product nameScott Ullrich2010-11-281-1/+1
| |
| * Check for pfsense root object name in config.xml as a fallback if the ↵Erik Fonnesbeck2010-11-261-2/+2
| | | | | | | | configured name is not found.
| * Upon restoring a config, replacing whole sections, or editing config.xml in ↵Erik Fonnesbeck2010-11-211-0/+32
| | | | | | | | edit.php, prevent possible accidental lockout from DNS rebind and HTTP referrer checks by disabling them until reboot or the next time they pass, whichever comes sooner. Ticket #1027
| * Remove trailing carriage returnScott Ullrich2010-11-101-1/+1
| |
* | Merge remote branch 'mainline/master' into incRenato Botelho2010-11-031-35/+41
|\ \ | |/ | | | | | | | | | | | | | | | | Conflicts: etc/inc/auth.inc etc/inc/config.lib.inc etc/inc/priv.defs.inc etc/inc/system.inc etc/inc/upgrade_config.inc etc/inc/vpn.inc
| * Correctly call die() in the places needed. Also remove unused global.Ermal2010-10-191-36/+42
| |
* | Fix quotes to use %N$X on gettext callsRenato Botelho2010-10-011-4/+4
| |
* | Fix gettext calls with printf to permit change strings orderRenato Botelho2010-08-301-4/+4
| |
* | Merge remote branch 'mainline/master' into incRenato Botelho2010-08-231-2/+0
|\ \ | |/ | | | | | | Conflicts: etc/inc/config.lib.inc
| * Do not output duplicate doneScott Ullrich2010-08-221-2/+0
| |
OpenPOWER on IntegriCloud