More validation for ejecting CDrom devices for 3G sticks, needs extra manufacturers. Less typos in variable names also helps a lot.
Attempt to Eject the CD device on 3G sticks for Huawei and ZTE devices.
Move routing (radvd, routed, ospf, bgp) to its own log since these daemons can be really spammy at times.
Store PBIs in /root/var/db/pbi so they persist across reboots.Keep the existing code for old-style PKG packages in case users on 2.1 are doing anything with PKG packages by hand. In theory all proper package installs on pfSense 2.1 (FreeBSD 8.3) should use PBIs.
Move some of the log file tabs around.Add seperate tabs for dnsmasq,unbound as well as gateways.
Rather make use of grep -c than all these pipes
Simplify this code a little and make it easily extendible.
check for presense of file before trying to exec it
Do not wipe logs on reboot on full install
Add a small script to disable APM on ATA drives if they claim to support it. Leaving this on will kill drives long-term, especially laptop drives, by generating excessive Load Cycles.The APM bit set will persist until the drive is power cycled, so it's necessary to run on each boot to be sure.
Add missing s
Move hostapd to its own log and tab, so it stops spamming the system log.
Make initial changes to allow pfSense to work in a jail.
This mostly avoids starting things that will not work and gets theinitial config. Most of the pfSense functionality will not work(pf rules, routing, etc) but it can be used for testing.
Run on CD-ROM, too, it should be writable after rc.cdrom
Sync password database right after mount, in case it is corrupt. (Except on CD-ROM platform).
Redirect errors to file
Remove nohup from the calling for check_reload_status since it may cause issues to the processes that get forked from it.
Add custom boot early hook
Remove extra unmatched conf_mount_ro for a potential race condition preventing writes when generating ssh keys in the background. Ticket #673
Set PKG_TMPDIR for embedded/nano because it will fill up /var trying to download packages otherwise. (From sullrich)
Run dumpon earlier, split dumpon/ddb from savecore and run savecore later.
Add support for dumpon/savecore to run on full installs.
Whitespace fix
Be less chatty
Use fullpath
Run ecl through php instead of executing directly.
Add pfSsh.php externalconfiglocator playback script
Adding external configuration loader which will look on all found disks except bootup disk for config.xml. If tconfig.xml is found on an external disk then it tests the roobobj to ensure its a valid file then calls test_config() to ensure it is a valid xml file. Once the file is validated a backup_config() is called to backup the current configuration and finally the file is installed using restore_backup()
Bring interfaces up only if there is a mismatch to allow them to be reassigned.
Protect from strange situations on bootup by testing for is_array(). Do not add anymore the 127.0.0.2 route its not needed anymore. Also during bootup bring up all interfaces so the assignment process can deal with them(Possibly should be done in another code flow!).
More VPN log fixes, for consistency. Ticket #912
Update (C)
Ensure /etc/gettytab is of a sane size and restore from backup + log if it is not
Do not suck in the file but actually execute it.
Correct typo in file name. Also do not delete users just expire them.
Start-up first check_reload_status than call rc.bootup since this is the new world order. This unbreaks booting and removes spurious messages during boot. While here for all binaries use full path for correctnes and avoid any 'strange' issues.
Use the new events mechanisms to dispatch events.
Only do check on pfSense platform
Only process items if we can find grep
Handle ZFS root partition read-only cases
Do not setup unionfs for /PCBSD
add apinger.log here too to silence error at boot
Do not nuke /tmp/ on livecd's
Make sure to cleanup /tmp before using it. Solves config cache issue as a start.
Remove stale code.
Make installer unionfs
Remove unionfs /, will have to come up with a new plan
Use unionfs for /
Remove stray done
Do not fsck /cf on each bootup
Unbreak nanobsd since Ticket #444
Unbreak nano since ticket #444
Handle mounting of extra filesystems correctly. Ticket #444
move mount up for cases where /usr and other partitions may be separate, and needed for other things to function
Make /var/run/booting exist for more of the actual booting process. Ticket #53.
Revert last commit .. This might not work on Nano
Use mount -a instead of -uw Ticket #444
Fix file names.
Use the -s ident option of mpd to send the logs for the PPPoE/PPTP/L2TP servers to syslogs appropriate files. Create the files for these vpn's as for the others. Logs can be viewed in the VPN tab of the system log.
Add alias data url option. This code existed but lacked a backend daemon to update the data every 24 hours. Adding this as well.
Add PPP logging tab
Revert "Use php to detect product name on shell scripts"
This reverts commit 07881462254d007cf77c1a5b09e7a840f708657e.
Do not create /root/var/tmp
Only symlink pkg dir
Reverse link arguments and rm dir
Create symlink after disks are mounted
Use php to detect product name on shell scripts
Fix path to expireaccounts.
Add support for nanobsd platform
Zap config.cache after bootup
Move RO operation down in rc and revert rc.bootup commit
Replace PHP init system with the init system.
Set hostname then call hostid onestart
Set hostid earlier in boot
Setup the host GUID which is required for ZFS
Full path to chmod
Nuke \n's
Setup relayd.log
Set all log files to 600
No need to wipe logs twice
Correct grep statement for hideplatform
Correct check for hideplatform
Use clog or fifolog
Correct variable name
Add missing then
Add hideplatform directive useful for rebranding
Echo out data to start of log files
Clear logs before fifolog_create command
Use divisibles of 512
Jettison clog and replace with fifolog which is included in FreeBSD 7.1
Modify captive portal to use centralized user management. The user manager hasbeen modified to include an account expiration option to support this service.
Remove notice that contents are being written to script caused by nohup
Move php.ini setup to its own file
Turn off APC upload progress support, we're using the pecl extensionnow.
Remove lighttpd files on reboot.
Inculde uploadprogress.so
Backout apc / cli cache
Turn on apc.rfc1867 = on (upload progress bar support which is apparently)native to APC.