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
|
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 |
|
jim-p
|
bf07217998
|
Save the old shutdown binary in an attempt to smooth a firmware upgrade that crosses to/from 32/64-bit.
|
2010-07-29 14:03:19 -04:00 |
|
jim-p
|
2d99dce73b
|
Don't kill ssh, it will stop the rest of the process when done from ssh. Instead, do not shut down network interfaces before a reboot. The original motive for doing this may no longer be necessary. Fixes #626
|
2010-06-02 12:27:24 -04:00 |
|
jim-p
|
99f4210976
|
Send TERM to sshd during shutdown/reboot to ensure that client sessions are kicked properly. Fixes #626.
|
2010-06-01 12:50:03 -04:00 |
|
Scott Ullrich
|
c16601e61c
|
Add a space between interfaces
|
2009-06-26 19:20:53 -04:00 |
|
Scott Ullrich
|
aaffe23409
|
Backout last commit
|
2009-06-24 14:17:37 -04:00 |
|
Scott Ullrich
|
2a47e68f17
|
Call save_sshkeys on reboot for nanobsd
|
2009-06-24 14:03:54 -04:00 |
|
Scott Ullrich
|
4b68ec30ab
|
Down interfaces before rebooting. Hopefully giving enough time
for the master interface to send a pfsync() notification to its
peers. Open and Free both down the interface before rebooting.
|
2009-05-15 21:15:31 -04: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
|
f921cfbb38
|
MFC 11520
Save the RRD files! MFC: Soon, testing with hoba now.
Tickets:
|
2006-04-17 21:04:54 +00:00 |
|
Scott Ullrich
|
57b6661794
|
Do not reboot or halt if a config_write() operation is in progress
|
2006-03-13 06:07:56 +00:00 |
|
Bill Marquette
|
1b8df11bf3
|
Add $Id$ tags
|
2005-03-27 22:39:00 +00:00 |
|
Scott Ullrich
|
405e5de066
|
Add rc.halt command which will shutdown and halt a running system.
Suggested-by: Bachman Kharazmi
|
2004-12-28 20:52:33 +00:00 |
|
Scott Ullrich
|
7ab8562cb3
|
Use shutdown -r instead of reboot.
Noticed-by: Bachman Kharazmi
|
2004-12-28 20:39:37 +00:00 |
|
Scott Ullrich
|
5b23774500
|
Initial revision
|
2004-11-07 03:06:49 +00:00 |
|