Scott Ullrich
|
25a011baf1
|
Purge savecore directory after upgrading
|
2005-06-29 22:36:30 +00:00 |
|
Scott Ullrich
|
4d756ab110
|
Seek out and destroy CVS directories. DIE!
|
2005-06-29 21:21:08 +00:00 |
|
Scott Ullrich
|
ac07aad19b
|
Make sure /etc/rc.conf and /etc/motd don't sneak in.
|
2005-06-29 20:39:40 +00:00 |
|
Scott Ullrich
|
7dc22ace8a
|
rc.subr is used by pcmcia facilities
|
2005-06-27 21:09:17 +00:00 |
|
Scott Ullrich
|
d20aaef3a3
|
Remove /etc/rc.subr and /etc/rc.d after upgrade if it exists. We have our own rc process.
|
2005-06-06 16:55:04 +00:00 |
|
Scott Ullrich
|
3465f09f39
|
Send mtree output to syslog
|
2005-05-30 21:49:16 +00:00 |
|
Scott Ullrich
|
7d7bd7ca40
|
Hide warning messages
|
2005-05-21 04:23:45 +00:00 |
|
Scott Ullrich
|
1e7ab453c3
|
Shell rc.reboot
|
2005-05-21 02:43:39 +00:00 |
|
Scott Ullrich
|
59fe3cdfd5
|
* Execute firmware upgrade in the background
* Reboot again from /etc/rc.firmware, not from the web gui. This can be *dangerous* if the user cancels the update, navigates away from the page, etc.
|
2005-05-19 23:00:45 +00:00 |
|
Scott Ullrich
|
8a1691dd3f
|
* Complete path to common binaries
* Find CVS directory and zap after upgrades
|
2005-05-19 17:53:39 +00:00 |
|
Scott Ullrich
|
ccbbd5202e
|
Use complete path to mtree
|
2005-05-19 17:23:43 +00:00 |
|
Colin Smith
|
7d894a898e
|
Don't reboot after a firmware update - this is impractical with the new update structure.
|
2005-05-07 01:47:10 +00:00 |
|
Scott Ullrich
|
6a2b5f1cda
|
Ensure proper /etc/hosts symlink after upgrade
|
2005-05-04 23:03:43 +00:00 |
|
Scott Ullrich
|
f21c836be9
|
Only chmod user, not groups.
|
2005-04-29 17:13:10 +00:00 |
|
Scott Ullrich
|
390c8e72eb
|
Restore flags before unmounting /cf
|
2005-04-28 02:34:55 +00:00 |
|
Scott Ullrich
|
cd88352b6f
|
run remove_chflags before upgrading.. they will be restored by the tgz
|
2005-04-27 23:18:50 +00:00 |
|
Colin Smith
|
9f0952aa76
|
(#15) Use rc.reboot when rebooting and don't try to remove auto_upgrade_in_progress.
|
2005-04-21 01:00:38 +00:00 |
|
Scott Ullrich
|
704ea91869
|
* Add remove_chflags function
* Add backup_chflags function
* Add restore_chflags function
* Backup and restore the chflags before updating
|
2005-04-20 18:11:25 +00:00 |
|
Scott Ullrich
|
6aada4eda1
|
* More debugging.
* Remove /tmp/auto_upgrade_in_progress after completion
|
2005-04-19 22:39:33 +00:00 |
|
Scott Ullrich
|
0d0a229428
|
Correct installed typo
|
2005-04-19 21:58:19 +00:00 |
|
Scott Ullrich
|
316d02b3f9
|
Add debugging lines. For some reason tar is not being invoked even though the if section is being invoked.
|
2005-04-19 21:48:36 +00:00 |
|
Colin Smith
|
0a5aabe633
|
Use /tmp/bdiff.log instead of /tmp/errors.
|
2005-04-18 01:49:22 +00:00 |
|
Colin Smith
|
f704d5b0da
|
We had three cases doing the same thing :P
|
2005-04-18 01:43:41 +00:00 |
|
Colin Smith
|
89a5f4451f
|
Require an argument to be passed to the binary update function rather than defaulting to /tmp/latest_* - we're no longer using a single file for updates.
|
2005-04-18 01:40:17 +00:00 |
|
Bill Marquette
|
9f7369a124
|
quiet down upgrade system a little
|
2005-04-13 03:01:27 +00:00 |
|
Bill Marquette
|
164d969696
|
oops, not sure how I missed the 'v' - needed to create right output for egrep and nawk :)
|
2005-04-13 02:38:48 +00:00 |
|
Bill Marquette
|
03485a223b
|
no need to create full path to output file, just dump it in /tmp/patched
|
2005-04-13 02:30:11 +00:00 |
|
Bill Marquette
|
3200f985e7
|
correctly ignore directories
compare md5's against the right variables
|
2005-04-12 23:33:59 +00:00 |
|
Bill Marquette
|
e7fb2f76af
|
comments
|
2005-04-12 22:14:11 +00:00 |
|
Bill Marquette
|
2d4f9a65c6
|
and cleanup
|
2005-04-12 22:12:34 +00:00 |
|
Bill Marquette
|
b8575f61ce
|
split out directories for sanities sake
|
2005-04-12 22:12:07 +00:00 |
|
Scott Ullrich
|
e607da6160
|
we're working in /tmp/patched.
|
2005-04-12 22:05:48 +00:00 |
|
Bill Marquette
|
2c505df5c5
|
change order of bspatch and don't cd to /tmp/patched, /tmp is fine
|
2005-04-12 22:03:21 +00:00 |
|
Bill Marquette
|
a739eb02db
|
fix the tar, move bspatch where it belongs
|
2005-04-12 21:58:52 +00:00 |
|
Bill Marquette
|
cf4cdbf0ef
|
A little cleanup of the new firmware upgrade code
|
2005-04-10 20:44:50 +00:00 |
|
Scott Ullrich
|
4f432cb8fd
|
Remove contents of /tmp/patched/ on each pass
|
2005-04-10 18:33:43 +00:00 |
|
Scott Ullrich
|
c92a7bbfc4
|
* Check final outputted md5 against what the md5 should be
* Alert the user if the md5 is not the same
* Note the error in /tmp/errors
|
2005-04-10 18:32:10 +00:00 |
|
Scott Ullrich
|
3dba31db6e
|
Add missing `
|
2005-04-10 17:39:02 +00:00 |
|
Scott Ullrich
|
8b33f44016
|
Turn binary_update item into a callable shell function
|
2005-04-10 01:31:25 +00:00 |
|
Scott Ullrich
|
98dc9cd432
|
bsdpatch downloaded .tgz files from the new auto upgrade system
|
2005-04-10 01:19:45 +00:00 |
|
Scott Ullrich
|
3db58e13cf
|
* Add kernel version file
* Cleanup and add more comments
|
2005-04-07 03:40:41 +00:00 |
|
Bill Marquette
|
1b8df11bf3
|
Add $Id$ tags
|
2005-03-27 22:39:00 +00:00 |
|
Scott Ullrich
|
cbd6155035
|
If /tmp/custom.tgz exists, allow it to overwrite the upgrade. This can be useful if you do not wish to upgrade a certain part of pfSense.
|
2005-03-03 19:47:29 +00:00 |
|
Scott Ullrich
|
be3239e3aa
|
Log upgrade actions to syslog.
|
2005-02-07 05:36:18 +00:00 |
|
Scott Ullrich
|
18ff56f256
|
Add auto upgrade option to pfSense
|
2005-01-31 23:28:19 +00:00 |
|
Scott Ullrich
|
0810f28a75
|
make sure to unlink first during tar operations
|
2004-11-28 01:33:56 +00:00 |
|
Scott Ullrich
|
4668f9f755
|
Introduce an easy way to upgrade firmware for pfSense.
|
2004-11-25 01:18:18 +00:00 |
|
Scott Ullrich
|
5b23774500
|
Initial revision
|
2004-11-07 03:06:49 +00:00 |
|