summaryrefslogtreecommitdiffstats
path: root/tmp
Commit message (Collapse)AuthorAgeFilesLines
* Detect when broken rc.firmware is running, fix it and restart. This should ↵Renato Botelho2015-03-111-0/+21
| | | | fix #4328
* Deal correct with filenames with spacesRenato Botelho2014-11-141-2/+9
|
* Make it possible to remove a directory on obsoletedfilesRenato Botelho2014-11-141-0/+2
|
* Check if array is setRenato Botelho2014-11-061-1/+1
|
* Remove extra ; and spaceRenato Botelho2014-11-062-3/+3
|
* Process obsolete files in shell script instead of phpRenato Botelho2014-11-062-5/+10
|
* Simplify post_upgrade_command logic and obsolete /usr/local/sbin/cvs_sync.sh ↵Renato Botelho2014-11-061-23/+18
| | | | instead of removing it on post_upgrade_command
* 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
* Back to cons25 for now since we found some issues with xterm on serial consoleRenato Botelho2014-07-021-1/+1
|
* Change default console from cons25 to xterm, while I'm here, simplify the checkRenato Botelho2014-07-011-1/+1
|
* Get rid of embedded platform. Its time to GC thisErmal2014-04-141-1/+1
|
* There is no need to make distinction in kernel anymore since they are the ↵Ermal2014-04-142-87/+0
| | | | same nowdays and it does the right thing(tm) most of the time
* Add a file flag to trigger the forced serial or else we may miss it during a ↵jim-p2014-02-281-4/+5
| | | | firmware update and still end up with an accidentally disabled port.
* Add a mechanism by which the serial port can be forced on always regardless ↵jim-p2014-02-141-1/+1
| | | | of the config setting. (useful for nano+vga setups)
* Make this name a little more general in case we decide to have multiple ↵jim-p2013-09-191-2/+2
| | | | similar files.
* If upgrading NanoBSD, try to grab the previous timezone file so the zone is ↵jim-p2013-08-281-0/+5
| | | | preserved on the next boot.
* Also run mtree check post-upgrade.jim-p2013-08-281-0/+10
|
* Be a little smarter about the default kernel in rare cases where we cannot ↵jim-p2013-01-031-1/+5
| | | | determine what was in use.
* Remove other potential places where someone could select a kernel we no ↵jim-p2012-11-201-2/+8
| | | | longer ship. Try to improve kernel detection a little more.
* Don't skip over wrap_vga here.jim-p2012-08-291-0/+9
|
* Fix case, it's not ARGV it's argv for phpjim-p2012-07-091-2/+2
|
* Be more verbose during upgrade to see why nanobsd isn't carrying over the ↵jim-p2012-07-082-0/+4
| | | | setting as expected.
* Fixup post-update processing on NanoBSDjim-p2012-07-062-2/+6
|
* Use !empty instead of isset to prevent accidental deletion of the last used ↵Erik Fonnesbeck2012-04-261-2/+2
| | | | repository URL when firmware update gitsync settings have been saved without a repository URL.
* Fix filename used in check for existence of the uniprocessor kernel to match ↵Erik Fonnesbeck2012-02-281-1/+1
| | | | the one that was being used to extract.
* Fixup the kernel upgrade code a bit to be safer, and assume SMP in the ↵jim-p2012-02-281-22/+56
| | | | default case, and also warn if there was a problem. Should fix #1427
* Unbreak a number of explode() replacements which required preg_split()smos2012-01-201-1/+1
|
* The function split() is replaced by the function explode(). Starting with ↵smos2012-01-191-2/+2
| | | | | | PHP 5.3 this is deprecated and with version 6 gone. Replacing it surpresses all the warnings
* Clean up .profile and .shrcLauri Tirkkonen2012-01-171-8/+3
|
* Setup serial bits after upgrade on NanoBSD, too.jim-p2011-10-312-2/+5
|
* Move the code to touch needs_package_sync into the shell script portion of ↵jim-p2011-05-242-6/+7
| | | | 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.
* Exclude loader.conf from being update during kernel updateScott Ullrich2011-01-281-4/+4
|
* We no longer use /var/run/config.lock - catch up to other progress. Also, ↵jim-p2011-01-121-1/+0
| | | | use lockf to test if the config is locked now, with a 30 second timeout.
* 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
|
* Add option to System: Firmware: Settings for running gitsync after ↵Erik Fonnesbeck2010-11-101-0/+7
| | | | installing an update, hidden/disabled if git has not been installed yet.
* Add routed/ items to obsoleted files. Force removal of file so that ↵Scott Ullrich2010-11-061-1/+1
| | | | directories can be included in the future
* Move files to pfSense.obsoletedfilessullrich2009-11-291-8/+5
|
* Overwrite .cshrc and .profileScott Ullrich2009-08-091-1/+1
|
* Escape commandScott Ullrich2009-08-091-2/+2
|
* Handle console too for noninteractiveScott Ullrich2009-08-091-0/+10
|
* Backout last commit, need to figure out the console angle as wellScott Ullrich2009-08-091-10/+0
|
* Fix non-interactive script bug on upgrade.Scott Ullrich2009-08-091-0/+10
|
* Complete path to rmScott Ullrich2009-06-181-1/+1
|
* 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.
* Remove obsoleted files after upgradeScott Ullrich2008-09-081-0/+5
|
* Only signal a package reinstall on full installations.Scott Ullrich2008-07-222-3/+5
|
OpenPOWER on IntegriCloud