summaryrefslogtreecommitdiffstats
path: root/etc/rc.reboot
Commit message (Collapse)AuthorAgeFilesLines
* Add the ability for full installs to optionally use RAM disks for /tmp and ↵jim-p2013-03-111-1/+7
| | | | | | /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).
* We no longer use /var/run/config.lock - catch up to other progress. Also, ↵jim-p2011-01-121-3/+3
| | | | use lockf to test if the config is locked now, with a 30 second timeout.
* Backup DHCP leases on NanoBSD toojim-p2010-08-061-0/+1
|
* Move the RRD backup code to a script.jim-p2010-08-061-4/+1
|
* Save the old shutdown binary in an attempt to smooth a firmware upgrade that ↵jim-p2010-07-291-1/+6
| | | | crosses to/from 32/64-bit.
* Don't kill ssh, it will stop the rest of the process when done from ssh. ↵jim-p2010-06-021-9/+0
| | | | Instead, do not shut down network interfaces before a reboot. The original motive for doing this may no longer be necessary. Fixes #626
* Send TERM to sshd during shutdown/reboot to ensure that client sessions are ↵jim-p2010-06-011-0/+2
| | | | kicked properly. Fixes #626.
* Add a space between interfacesScott Ullrich2009-06-261-1/+1
|
* Backout last commitScott Ullrich2009-06-241-4/+0
|
* Call save_sshkeys on reboot for nanobsdScott Ullrich2009-06-241-0/+4
|
* Down interfaces before rebooting. Hopefully giving enough timeScott Ullrich2009-05-151-0/+6
| | | | | for the master interface to send a pfsync() notification to its peers. Open and Free both down the interface before rebooting.
* Woops, cd to / and then tarScott Ullrich2007-02-181-1/+1
|
* cd to /var before running tar operationScott Ullrich2007-02-181-1/+1
|
* MFC 12687Scott Ullrich2006-06-171-1/+1
| | | | Silent tar: Removing leading '/' from member names on reboot
* MFC 11521Scott Ullrich2006-04-171-0/+2
| | | | Mount config area rw before tar and then ro after tar.
* MFC 11520Scott Ullrich2006-04-171-0/+12
| | | | | Save the RRD files! MFC: Soon, testing with hoba now. Tickets:
* Do not reboot or halt if a config_write() operation is in progressScott Ullrich2006-03-131-0/+5
|
* Add $Id$ tagsBill Marquette2005-03-271-0/+2
|
* Add rc.halt command which will shutdown and halt a running system.Scott Ullrich2004-12-281-1/+1
| | | | Suggested-by: Bachman Kharazmi
* Use shutdown -r instead of reboot.Scott Ullrich2004-12-281-1/+2
| | | | Noticed-by: Bachman Kharazmi
* Initial revisionScott Ullrich2004-11-071-0/+5
OpenPOWER on IntegriCloud