Commit Graph

38 Commits

Author SHA1 Message Date
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
Scott Ullrich
8dd92eaee8 * Ensure source kernel exists before blindly copying * Move embedded ttys back into place after upgrade 2007-08-02 18:31:25 +00:00
Scott Ullrich
f9b3f262c4 Reinstall correct kernel after upgrade. 2007-08-02 07:32:11 +00:00
Scott Ullrich
5f26831ee7 Upgrade RELENG_1 as well for embedded. 2007-05-09 21:04:32 +00:00