summaryrefslogtreecommitdiffstats
path: root/tmp/pre_upgrade_command
Commit message (Collapse)AuthorAgeFilesLines
* Fix #3749:Renato Botelho2014-07-111-0/+20
| | | | | | | | | | | | | | | | | | | When a full upgrade from 2.1.x to 2.2 is being done, after decompress tarball with 2.2 files, /bin/sh is not able to run a script using syntax 'sh scriptname'. Because of that, /tmp/post_upgrade_command and /etc/rc.reboot are not executed ending on an incomplete and broken update. Since we need to fix it only touching 2.2 files, the only way I found to workaround the situation is to use pre_upgrade_command script to: - Copy /bin/sh to /tmp/sh.old - Change /etc/rc.firmware to use sh.old when calling post_upgrade_command and rc.reboot - Kill current rc.firmware process - Start a new rc.firmware using same parameters This issue doesn't affect nanobsd or 2.2 -> 2.2 updates
* There is no need to make distinction in kernel anymore since they are the ↵Ermal2014-04-141-2/+0
| | | | same nowdays and it does the right thing(tm) most of the time
* Revert "Swoop through and stop any packages prior to upgrade. Ticket #1156"Scott Ullrich2011-01-051-5/+0
| | | | This reverts commit cf42de70c84632bcee5d6d545b1242f14a73c618.
* Swoop through and stop any packages prior to upgrade. Ticket #1156Scott Ullrich2011-01-051-0/+5
|
* Ensure we are mount rwScott Ullrich2008-11-091-0/+2
|
* Oops, use /boot/kernel/Scott Ullrich2008-11-091-1/+1
|
* Oops, use /boot/kernel/Scott Ullrich2008-11-091-1/+1
|
* Move pfsense_kernel.txt to /tmp and remove /boot/kernel/* contents so weScott Ullrich2008-11-091-0/+4
| | | | | are guarantee'd a fresh kernel directory (note freebsd kernel install moves the old kernel directory to kernel.old so this is very similar.
* Record prior versionScott Ullrich2008-07-071-0/+3
|
* Adding pre upgrade hookScott Ullrich2008-07-071-0/+3
OpenPOWER on IntegriCloud