summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/config.lib.inc
Commit message (Collapse)AuthorAgeFilesLines
* Do not use reference to avoid losing dataRenato Botelho2017-08-161-2/+4
|
* Always run additional_config_upgrade() and do it after config is writtenRenato Botelho2017-08-161-8/+10
|
* Check if specific config upgrade code already ran and skip itRenato Botelho2017-08-161-7/+20
|
* Add a function to be called every time convert_config() runsRenato Botelho2017-08-161-0/+2
|
* Merge pull request #3750 from PiBa-NL/20170606-denyconfigwritejim-p2017-06-071-0/+1
|\
| * permissions, log when user tries to save the configuration but has the 'deny ↵PiBa-NL2017-06-061-0/+1
| | | | | | | | config write' permission
* | Fix preg_match call without delimiter and also use preg_quote() to variable ↵Renato Botelho2017-05-301-1/+1
| | | | | | | | used in pattern
* | Don't create system notices for errors in user-entered ad-hoc PHP ↵stilez2017-05-271-1/+2
|/ | | | (diag_command.php)
* Fix #7508 stop write_config after reset_factory_defaultsPhil Davis2017-05-031-1/+21
|
* phpsessionmanager, this helps starting and committing the php session ↵PiBa-NL2017-02-271-7/+5
| | | | preventing other requests from being blocked longer than required.
* Fix handling of 0 for Backup Count. Fixes #7273jim-p2017-02-171-0/+1
|
* Code with multiple %s in etcPhil Davis2017-02-011-1/+1
|
* php fatal error loggingPiBa-NL2016-10-151-1/+3
|
* Change safe_write_file $content parameter to accept an arrayRenato Botelho2016-10-141-2/+10
|
* Make $force_binary parameter optional, default to falseRenato Botelho2016-10-141-2/+2
|
* Remove all calls to conf_mount_r* functionsRenato Botelho2016-10-121-18/+0
|
* Retire cdrom platform supportRenato Botelho2016-10-121-29/+13
|
* Obsolete conf_mount_ro() and conf_mount_rw()Renato Botelho2016-10-121-58/+3
| | | | | Now that nanobsd is gone these functions are not necessary anymore. Keep them around until all calls are cleaned up
* Move copyright from ESF to NetgateRenato Botelho2016-09-061-1/+1
|
* Fix handling of backup config count. Fixes #6771jim-p2016-09-061-1/+1
|
* Move to Apache License 2.0Renato Botelho2016-07-151-41/+9
|
* Review license / copyright on all files (final round)Renato Botelho2016-07-151-1/+1
|
* Review license / copyright on all files (1st round)Renato Botelho2016-07-141-55/+55
|
* Use global backup count instead of hardcoded value and remove redundant functionstilez2016-05-241-12/+1
|
* Check for is_array here to avoid possible issues if the config.cache is ↵Chris Buechler2016-05-101-1/+1
| | | | invalid. Adapted from PR 2925
* Skip ro mounting to make nanobsd permanent rw mode regardless of config. ↵Chris Buechler2016-05-041-0/+3
| | | | Ticket #6184
* Includes - Remove PersonalizationsNOYB2016-04-041-3/+3
| | | | Remove "you" personalizations.
* Write_Config Function Notes UpdateNOYB2016-02-211-0/+1
| | | | Add write_config_only input arg to write_config function notes.
* Merge pull request #2660 from phil-davis/gtetc1Renato Botelho2016-02-171-1/+1
|\
| * Internationalize etc inc a-i filesPhil Davis2016-02-171-1/+1
| |
* | Call conf_mount_rw() before run pfSense-upgrade to avoid doing it twiceRenato Botelho2016-02-161-2/+2
| |
* | Break long linesRenato Botelho2016-02-161-4/+7
|/
* Remove all additional packages from the system before reset to factory ↵Renato Botelho2016-02-011-0/+4
| | | | default. Fixes #5829
* Update license on files from /etc/incRenato Botelho2016-01-151-25/+42
|
* Merge pull request #2309 from phil-davis/tiwRenato Botelho2015-12-211-4/+9
|\
| * Avoid triggering initial wizard before rebootPhil Davis2015-12-211-4/+9
| | | | | | | | | | | | | | | | | | | | | | If you use the the webGUI to reset to factory defaults, then while the existing system is shutting down you navigate off to the dashboard, the initial setup wizard will start. The trigger_initial_wizard flag file is deleted, and so after the reboot the initial setup wizard will not be triggered. This change fixes that sequence of events by using a different flag file across the reboot, and switching it back to the usual flag file name during the subsequent boot up.
* | Redmine #5613 avoid Reset to Factory Defaults PHP warningsPhil Davis2015-12-201-1/+1
|/ | | | | | | | | | | | On Reset to Factory Defaults there are some warnings given when unlink_if_exists() tries to unlink() directories in /conf - /conf/backup and /conf/sshd. unlink does not work on directories. This PR avoids the PHP warnings by not trying to remove the directories inside /conf. As has been the case before this PR, the following things are thus left on the system after Reset to Factory Defaults: /conf/backup - old config backups, which contain configs of the previous system. /conf/sshd - old ssh keys. For testing, this is handy. But for real "reset" should these be deleted? In addition to this PR, should there be code to delete everything in /conf/backup and/or /conf/sshd?
* Remove all pfSense_MODULE and pfSense_BUILDER_BINARIES definitions, whatever ↵Renato Botelho2015-12-151-4/+0
| | | | was the reason they were added, it was never finished and it's not being used
* Write Config Only OptionNOYB2015-12-071-1/+7
| | | | Add write_config function option to only write the config. Sometimes syncing firewall is not necessary or desirable. ex: changing log display options.
* Use product_name global variable in more placesRenato Botelho2015-09-301-3/+3
|
* White space and minor bits in etcPhil Davis2015-09-161-1/+1
| | | | Cleaner version of https://github.com/pfsense/pfsense/pull/1846
* Move main pfSense content to src/Renato Botelho2015-08-251-0/+1020
OpenPOWER on IntegriCloud