Do not use reference to avoid losing data
Always run additional_config_upgrade() and do it after config is written
Check if specific config upgrade code already ran and skip it
Add a function to be called every time convert_config() runs
Fix preg_match call without delimiter and also use preg_quote() to variable used in pattern
Don't create system notices for errors in user-entered ad-hoc PHP (diag_command.php)(cherry picked from commit ff4e29fb9d048162f0d4d28b0c3e818ed2c1fd8e)
Fix #7508 stop write_config after reset_factory_defaults
(cherry picked from commit 3dcaae882cdfdd86826be4db9b38ce04389701ec)
php fatal error logging
(cherry picked from commit ae3463540ea0a3cc94c18ad9c7b829b2645e8910)
Change safe_write_file $content parameter to accept an array
Make $force_binary parameter optional, default to false
Move copyright from ESF to Netgate
Fix handling of backup config count. Fixes #6771
Review license / copyright on all files (final round)
Review license / copyright on all files (1st round)
Use global backup count instead of hardcoded value and remove redundant function(cherry picked from commit 01b5410ae8391998ba560d40f447c7f556472c5b)
Check for is_array here to avoid possible issues if the config.cache is invalid. Adapted from PR 2925
Skip ro mounting to make nanobsd permanent rw mode regardless of config. Ticket #6184
Merge pull request #2831 from NOYB/Includes_-_Remove_Personalizations
(cherry picked from commit 7a2c15f527459cc82aadaf23d06895174c008320)
Write_Config Function Notes Update
Add write_config_only input arg to write_config function notes.
Merge pull request #2660 from phil-davis/gtetc1
Internationalize etc inc a-i files
Call conf_mount_rw() before run pfSense-upgrade to avoid doing it twice
Break long lines
Remove all additional packages from the system before reset to factory default. Fixes #5829
Update license on files from /etc/inc
Merge pull request #2309 from phil-davis/tiw
Avoid triggering initial wizard before reboot
If you use the the webGUI to reset to factory defaults, then while theexisting system is shutting down you navigate off to the dashboard, theinitial setup wizard will start. The trigger_initial_wizard flag file is...
Redmine #5613 avoid Reset to Factory Defaults PHP warnings
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....
Remove all pfSense_MODULE and pfSense_BUILDER_BINARIES definitions, whatever was the reason they were added, it was never finished and it's not being used
Write Config Only Option
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 places
White space and minor bits in etc
Cleaner version of https://github.com/pfsense/pfsense/pull/1846
Move main pfSense content to src/