jim-p
e92e83d4e2
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).
2013-03-11 22:16:18 -04:00
Scott Ullrich
85055175a1
Remove old vidcontrol cruft lingering from long long ago
2011-05-31 11:58:00 -04:00
Scott Ullrich
004cb7c584
Merge 8b7d912673 8b7d912673 which fixes rc.shutdown issue
2011-03-22 21:43:08 -04:00
jim-p
fa18235165
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.)
2011-03-09 13:03:13 -05:00
jim-p
bcc85621ee
Fix find again... apparently -xdev is depreciated and tosses errors, replaced by -x
2011-02-24 10:51:16 -05:00
smos
583f49135d
Correct the find command, pipe into xargs
2011-02-24 15:17:23 +01:00
smos
219585dac7
Do not cross filesystem boundaries when removing files lest we empty Seth' USB stick
2011-02-23 14:55:33 +01:00
jim-p
7201ca277e
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.
2011-01-12 14:26:35 -05:00
jim-p
d12003c995
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 0d89a2fcac .
2010-12-14 17:22:17 -05:00
jim-p
0d89a2fcac
Add voucher backup, configurable from Diagnostics > NanoBSD. Fixes #1087
2010-12-14 17:10:42 -05:00
jim-p
6b5a20abe8
Backup DHCP leases on NanoBSD too
2010-08-06 12:03:48 -04:00
jim-p
ef68d19ce1
Move the RRD backup code to a script.
2010-08-06 12:03:03 -04:00
Renato Botelho
92a5e926f3
Revert "Use php to detect product name on shell scripts"
...
This reverts commit 0788146225 .
2009-08-26 10:45:30 -03:00
Renato Botelho
0788146225
Use php to detect product name on shell scripts
2009-08-03 16:52:51 -03:00
Scott Ullrich
f51db33f6a
Use product_name
2008-11-10 03:48:06 +00:00
Scott Ullrich
79e9b65254
Woops, cd to / and then tar
2007-02-18 23:23:35 +00:00
Scott Ullrich
4217338a42
cd to /var before running tar operation
2007-02-18 23:18:54 +00:00
Scott Ullrich
1e39020cda
MFC 12687
...
Silent tar: Removing leading '/' from member names on reboot
2006-06-17 17:00:20 +00:00
Scott Ullrich
83df670bdc
MFC 11521
...
Mount config area rw before tar and then ro after tar.
2006-04-17 21:05:38 +00:00
Scott Ullrich
acdd8ddfac
MFC 11518
...
Save the rrd databases to the config space on reboot.
2006-04-17 21:03:11 +00:00
Scott Ullrich
6995b4fc1d
Do not allow shutdown if write is in progress
2006-03-20 20:00:56 +00:00
Scott Ullrich
99dc4c7798
Do not rm -rf /tmp on shutdown if platform is not pfSense
2006-01-01 00:15:37 +00:00
Scott Ullrich
240aaa0790
Clean /tmp/ directory on shutdown
2005-11-28 00:50:33 +00:00
Scott Ullrich
3745199489
Do not down pfsync, let the reboot sequence naturally handle
2005-10-21 04:12:28 +00:00
Scott Ullrich
5c2c817add
Shut off pfsync on shutdown with same freebsd command: /sbin/ifconfig pfsync0 -syncdev down
2005-10-15 17:54:07 +00:00
Scott Ullrich
73c2749ca8
Do not bring down carp interfaces one by one, let the normal shutdown procedure handle
2005-10-13 01:15:33 +00:00
Scott Ullrich
1640b42975
Switch back to vty1 on reboot/shutdown
2005-10-09 02:35:10 +00:00
Scott Ullrich
2c9602034e
Spam less on shutdown
2005-07-11 00:32:51 +00:00
Scott Ullrich
3b18f1753b
On shutdown call /etc/sshd and alert we're stopping so it can compare /root/.authorized_keys with the config.xml version
2005-07-09 19:35:49 +00:00
Scott Ullrich
153c86012f
Output status of bringing carp interfaces down
2005-05-06 14:48:21 +00:00
Scott Ullrich
cfc55699a6
Full patch to ifconfig
2005-05-06 14:44:48 +00:00
Scott Ullrich
0c48d84544
Convert carp code back to shell script
2005-05-06 14:44:33 +00:00
Scott Ullrich
42013a429e
Alert when bringing down carp interfaces on shutdown
2005-05-06 00:49:52 +00:00
Scott Ullrich
330a31ebd1
Don't forget <?php and ?>
2005-05-06 00:39:22 +00:00
Scott Ullrich
6ac2abcba2
Convert rc.shutdown to php script, gracefully shutdown carp interfaces on shutdown
2005-05-06 00:38:36 +00:00
Bill Marquette
1b8df11bf3
Add $Id$ tags
2005-03-27 22:39:00 +00:00
Scott Ullrich
5b23774500
Initial revision
2004-11-07 03:06:49 +00:00