Add the ability for full installs to optionally use RAM disks for /tmp and /var, and to allow selecting a size for /tmp and /var RAM disks on both Full installs and NanoBSD.I think I caught most of the edge cases for transitioning into and out of RAM disk mode, and preserving data across reboots as is done on NanoBSD (RRD, DHCP leases, pkg/pbi info).
Remove old vidcontrol cruft lingering from long long ago
Merge 8b7d91267376d8b1e5e8d5748371430e2a601e23 https://rcs.pfsense.org/projects/pfsense/repos/mterron-clone/commits/8b7d91267376d8b1e5e8d5748371430e2a601e23 which fixes rc.shutdown issue
Only delete files in /tmp, not directories. Fixes rm errors on shutdown. (Doing rm -rf might cause it to go across filesystem boundaries again, which we're trying to avoid.)
Fix find again... apparently -xdev is depreciated and tosses errors, replaced by -x
Correct the find command, pipe into xargs
Do not cross filesystem boundaries when removing files lest we empty Seth' USB stick
We no longer use /var/run/config.lock - catch up to other progress. Also, use lockf to test if the config is locked now, with a 30 second timeout.
Revert "Add voucher backup, configurable from Diagnostics > NanoBSD. Fixes #1087" - voucher db backup already existed under a different name. Ticket is still fixed, just by different code that was already there.
This reverts commit 0d89a2fcac3deea06bdc4a481bbdfae4f18b1ff8.
Add voucher backup, configurable from Diagnostics > NanoBSD. Fixes #1087
Backup DHCP leases on NanoBSD too
Move the RRD backup code to a script.
Revert "Use php to detect product name on shell scripts"
This reverts commit 07881462254d007cf77c1a5b09e7a840f708657e.
Use php to detect product name on shell scripts
Use product_name
Woops, cd to / and then tar
cd to /var before running tar operation
MFC 12687Silent tar: Removing leading '/' from member names on reboot
MFC 11521Mount config area rw before tar and then ro after tar.
MFC 11518Save the rrd databases to the config space on reboot.
Do not allow shutdown if write is in progress
Do not rm -rf /tmp on shutdown if platform is not pfSense
Clean /tmp/ directory on shutdown
Do not down pfsync, let the reboot sequence naturally handle
Shut off pfsync on shutdown with same freebsd command: /sbin/ifconfig pfsync0 -syncdev down
Do not bring down carp interfaces one by one, let the normal shutdown procedure handle
Switch back to vty1 on reboot/shutdown
Spam less on shutdown
On shutdown call /etc/sshd and alert we're stopping so it can compare /root/.authorized_keys with the config.xml version
Output status of bringing carp interfaces down
Full patch to ifconfig
Convert carp code back to shell script
Alert when bringing down carp interfaces on shutdown
Don't forget
Convert rc.shutdown to php script, gracefully shutdown carp interfaces on shutdown
Add $Id$ tags
Initial revision