jim-p
|
a4dc96324c
|
Make this name a little more general in case we decide to have multiple similar files.
|
2013-09-19 13:53:08 -04:00 |
|
jim-p
|
495dd80476
|
If upgrading NanoBSD, try to grab the previous timezone file so the zone is preserved on the next boot.
|
2013-08-28 10:48:17 -04:00 |
|
jim-p
|
fa92a6a49e
|
Also run mtree check post-upgrade.
|
2013-08-28 10:44:24 -04:00 |
|
jim-p
|
8a0f6ca13d
|
Be a little smarter about the default kernel in rare cases where we cannot determine what was in use.
|
2013-01-03 09:29:50 -05:00 |
|
jim-p
|
bff167fd35
|
Remove other potential places where someone could select a kernel we no longer ship. Try to improve kernel detection a little more.
|
2012-11-20 09:45:15 -05:00 |
|
jim-p
|
58d9e380a7
|
Don't skip over wrap_vga here.
|
2012-08-29 11:44:39 -04:00 |
|
jim-p
|
d62a2f6cb3
|
Fix case, it's not ARGV it's argv for php
|
2012-07-09 10:55:56 -04:00 |
|
jim-p
|
baef6be8cf
|
Be more verbose during upgrade to see why nanobsd isn't carrying over the setting as expected.
|
2012-07-08 13:32:51 -04:00 |
|
jim-p
|
bcca590fa4
|
Fixup post-update processing on NanoBSD
|
2012-07-06 16:04:46 -04:00 |
|
Erik Fonnesbeck
|
c5d8b1f441
|
Use !empty instead of isset to prevent accidental deletion of the last used repository URL when firmware update gitsync settings have been saved without a repository URL.
|
2012-04-26 19:47:57 -06:00 |
|
Erik Fonnesbeck
|
d63b89af70
|
Fix filename used in check for existence of the uniprocessor kernel to match the one that was being used to extract.
|
2012-02-28 10:41:58 -07:00 |
|
jim-p
|
e684290f77
|
Fixup the kernel upgrade code a bit to be safer, and assume SMP in the default case, and also warn if there was a problem. Should fix #1427
|
2012-02-28 12:14:23 -05:00 |
|
smos
|
2ce660ad4d
|
Unbreak a number of explode() replacements which required preg_split()
|
2012-01-20 12:18:13 +01:00 |
|
smos
|
cfbfd9412b
|
The function split() is replaced by the function explode(). Starting with PHP 5.3 this is deprecated and with version 6 gone.
Replacing it surpresses all the warnings
|
2012-01-19 20:33:41 +01:00 |
|
Lauri Tirkkonen
|
a7401ce73a
|
Clean up .profile and .shrc
|
2012-01-17 10:38:30 +02:00 |
|
jim-p
|
196d00856d
|
Setup serial bits after upgrade on NanoBSD, too.
|
2011-10-31 16:25:21 -04:00 |
|
jim-p
|
a90896fd64
|
Move the code to touch needs_package_sync into the shell script portion of the post upgrade command. The PHP portion will fail spectacularly during the 1.2.3-to-2.0 upgrade trying to run the new binaries on the old OS. The shell script part still works. Fixes #1251 enough for what we need. The PHP code can never run properly there, but at least we can trigger the package reinstall and the rest can sort itself out when 2.0 boots the first time.
|
2011-05-24 12:22:43 -04:00 |
|
Scott Ullrich
|
a3755fe7df
|
Exclude loader.conf from being update during kernel update
|
2011-01-28 17:09:17 -05: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 |
|
Scott Ullrich
|
fe868e1d9d
|
Revert "Swoop through and stop any packages prior to upgrade. Ticket #1156"
This reverts commit cf42de70c8.
|
2011-01-05 16:28:31 -05:00 |
|
Scott Ullrich
|
cf42de70c8
|
Swoop through and stop any packages prior to upgrade. Ticket #1156
|
2011-01-05 16:22:11 -05:00 |
|
Erik Fonnesbeck
|
f0ce6758e8
|
Add option to System: Firmware: Settings for running gitsync after installing an update, hidden/disabled if git has not been installed yet.
|
2010-11-10 03:03:00 -07:00 |
|
Scott Ullrich
|
d32d3970d5
|
Add routed/ items to obsoleted files. Force removal of file so that directories can be included in the future
|
2010-11-06 18:20:35 -04:00 |
|
sullrich
|
854415fa39
|
Move files to pfSense.obsoletedfiles
|
2009-11-29 20:33:37 -05:00 |
|
Scott Ullrich
|
778b080b9f
|
Overwrite .cshrc and .profile
|
2009-08-09 21:03:59 -04:00 |
|
Scott Ullrich
|
5e9cb18928
|
Escape command
|
2009-08-09 20:55:25 -04:00 |
|
Scott Ullrich
|
b001e0e52a
|
Handle console too for noninteractive
|
2009-08-09 19:56:05 -04:00 |
|
Scott Ullrich
|
da5cc67599
|
Backout last commit, need to figure out the console angle as well
|
2009-08-09 19:56:05 -04:00 |
|
Scott Ullrich
|
08fe13026c
|
Fix non-interactive script bug on upgrade.
|
2009-08-09 17:26:11 -04:00 |
|
Scott Ullrich
|
89f49b8fc5
|
Complete path to rm
|
2009-06-18 20:27:10 -04:00 |
|
Scott Ullrich
|
7aa216d6b5
|
Ensure we are mount rw
|
2008-11-09 00:30:06 +00:00 |
|
Scott Ullrich
|
3636a30092
|
Oops, use /boot/kernel/
|
2008-11-09 00:18:28 +00:00 |
|
Scott Ullrich
|
28549cefa8
|
Oops, use /boot/kernel/
|
2008-11-09 00:17:51 +00:00 |
|
Scott Ullrich
|
828a371f1d
|
Move pfsense_kernel.txt to /tmp and remove /boot/kernel/* contents so we
are guarantee'd a fresh kernel directory (note freebsd kernel install moves
the old kernel directory to kernel.old so this is very similar.
|
2008-11-09 00:14:14 +00:00 |
|
Scott Ullrich
|
5d8c7db827
|
Remove obsoleted files after upgrade
|
2008-09-08 22:08:56 +00:00 |
|
Scott Ullrich
|
7770cea849
|
Only signal a package reinstall on full installations.
|
2008-07-22 16:18:47 +00:00 |
|
Scott Ullrich
|
7a4e37e10c
|
Record prior version
|
2008-07-07 02:11:27 +00:00 |
|
Scott Ullrich
|
75c7ac379c
|
Adding pre upgrade hook
|
2008-07-07 01:52:14 +00:00 |
|
Scott Ullrich
|
71bd8e0693
|
Signal a package reinstall after upgrade
|
2008-07-07 01:47:04 +00:00 |
|
Scott Ullrich
|
b3191bd2fc
|
Do not assume that we ship uniprocessor kernel on LiveCD any longer.
|
2008-06-17 01:07:31 +00:00 |
|
Scott Ullrich
|
0d77165262
|
Untar the complete kernel to /boot/ instead of just the kernel file itself
|
2008-03-30 21:27:44 +00:00 |
|
Scott Ullrich
|
998bc8a5e8
|
Nuke /usr/local/sbin/php if it exists on upgrade
|
2007-12-24 01:59:49 +00:00 |
|
Scott Ullrich
|
988724dafd
|
Move ttys_wrap into place last.
|
2007-12-23 21:38:16 +00:00 |
|
Scott Ullrich
|
3b6e12c402
|
Check value of /etc/platform when installing the correct ttys file.
Reported-by: Vivek Khera
|
2007-11-29 17:22:42 +00:00 |
|
Scott Ullrich
|
7a291481e9
|
Nuke cvs_sync.sh on upgrade now that it resides in pfSsh.php
|
2007-11-23 22:34:28 +00:00 |
|
Scott Ullrich
|
24c4023c00
|
Remove any previous MD5 sums after upgrade.
From Seth:
|
2007-11-07 23:09:00 +00:00 |
|
Scott Ullrich
|
c7b2070372
|
If index.html, fred.png or dfuife.cgi is found remove them on upgrade.
|
2007-10-01 18:13:03 +00:00 |
|
Scott Ullrich
|
caae9b2c61
|
* The drop is locked in /etc/rc.firmware
* Modify ttys after the correct file is moved into place
|
2007-08-02 18:46:44 +00:00 |
|
Scott Ullrich
|
33edf4b995
|
* Drop the lock before exiting
* Fall back to RO on needed platforms before exiting
|
2007-08-02 18:44:36 +00:00 |
|
Scott Ullrich
|
d58803a8fa
|
Only zap /kernels directory if it exists
|
2007-08-02 18:36:00 +00:00 |
|