Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #608 from evansus/master | rbgarga | 2013-04-30 | 1 | -1/+1 |
|\ | | | | | Merge commit to correct debugging issue | ||||
| * | correct debug issue | Evan Susarret | 2013-04-30 | 1 | -1/+1 |
| | | | | | | | | | | | | | | Accidentally changed this from executing the zfs command to echoing the expected command in previous commits. This had been set while debugging a better command to set ZFSROOT variable. | ||||
* | | Merge pull request #602 from evansus/patch-1 | rbgarga | 2013-04-30 | 1 | -3/+3 |
|\ \ | |/ | | | ZFSROOT not hardcoded to zpool or dataset 'tank' | ||||
| * | Use 'zfs mount' to get ZFSROOT dataset | Evan Susarret | 2013-04-28 | 1 | -1/+1 |
| | | | | | | | | using just zfs, grep, and cut, with a simple regexp | ||||
| * | ZFSROOT not hardcoded to zpool or dataset 'tank' | Evan Susarret | 2013-04-24 | 1 | -3/+3 |
| | | | | | | | | | | | | | | For ZFS root readonly case, the WHEREISROOT variable was grep-ing for 'tank', expecting a zpool with that name. A workaround of naming a dataset 'tank', for example, 'sys/ROOT/tank' or 'sys/tank/pfSense' is compatible, however this shouldn't be hardcoded in. My proposed change replaces WHEREISROOT with ZFSROOT using awk. I noticed awk is used elsewhere in this script. However it is still simple code that is not resilient against unexpected circumstances, let alone failure. | ||||
* | | Do not force the check to avoid garbling filesystems. Also be specific to ↵ | Ermal | 2013-04-29 | 1 | -6/+6 |
|/ | | | | check / filesystem and /cf on nano platform since the others will be checked on php code | ||||
* | Don't try to make /var/run a RAM disk if /var is already a RAM disk. | jim-p | 2013-04-08 | 1 | -1/+1 |
| | |||||
* | Only check tunefs status when it's necessary, it avoids errors on iso boot. ↵ | Renato Botelho | 2013-04-05 | 1 | -18/+20 |
| | | | | Fixes #2932 | ||||
* | Move tmp/var init to just after mount of /cf so that the sizing works ↵ | jim-p | 2013-03-12 | 1 | -15/+15 |
| | | | | properly on NanoBSD. Fix input validation for sizes. Add note about needing a reboot to apply the settings. | ||||
* | Add the ability for full installs to optionally use RAM disks for /tmp and ↵ | jim-p | 2013-03-11 | 1 | -16/+19 |
| | | | | | | /var, and to allow selecting a size for /tmp and /var RAM disks on both Full installs and NanoBSD. I think I caught most of the edge cases for transitioning into and out of RAM disk mode, and preserving data across reboots as is done on NanoBSD (RRD, DHCP leases, pkg/pbi info). | ||||
* | Add a means to force a fsck (on rare occasions the fs is not marked dirty, ↵ | jim-p | 2013-02-02 | 1 | -0/+9 |
| | | | | but still needs fsck run to fix errors) | ||||
* | Add a manual way for someone to set TRIM if they really want it. touch ↵ | jim-p | 2013-02-02 | 1 | -0/+24 |
| | | | | | | /root/TRIM_set and reboot to set, touch /root/TRIM_unset to clear. Have to reboot after setting the tunefs flag or when mount is run, it clears any changes. No way to do it on the fly. | ||||
* | Cleanup the php session data. | Ermal | 2012-12-06 | 1 | -0/+1 |
| | |||||
* | Create these dirs earlier rather than later to avoid the errors reported on ↵ | Ermal | 2012-11-22 | 1 | -10/+10 |
| | | | | http://forum.pfsense.org/index.php/topic,55998.0.html | ||||
* | Honor /var/run path specified in globals.inc. Probably this needs a bit ↵ | Ermal | 2012-11-20 | 1 | -10/+10 |
| | | | | better handling | ||||
* | Remove openvpn setups since they do not belong here. Also check before ↵ | Ermal | 2012-11-20 | 1 | -9/+3 |
| | | | | removing newsyslog.conf | ||||
* | Remove sasyncd related code from rc | Ermal | 2012-11-20 | 1 | -9/+0 |
| | |||||
* | Remove newsyslog.conf seems its responsible for overrideing ppp.log and ↵ | Ermal | 2012-11-20 | 1 | -0/+1 |
| | | | | gives warnings on bootup | ||||
* | Remove all previous configurations stored on /var/etc during a bootup to ↵ | Ermal | 2012-11-20 | 1 | -0/+6 |
| | | | | avoid confusion | ||||
* | More validation for ejecting CDrom devices for 3G sticks, needs extra ↵ | smos | 2012-05-26 | 1 | -3/+5 |
| | | | | manufacturers. Less typos in variable names also helps a lot. | ||||
* | Attempt to Eject the CD device on 3G sticks for Huawei and ZTE devices. | smos | 2012-05-20 | 1 | -0/+5 |
| | |||||
* | Move routing (radvd, routed, ospf, bgp) to its own log since these daemons ↵ | jim-p | 2012-05-01 | 1 | -1/+1 |
| | | | | can be really spammy at times. | ||||
* | Store PBIs in /root/var/db/pbi so they persist across reboots. | Phil Davis | 2012-04-18 | 1 | -1/+5 |
| | | | Keep the existing code for old-style PKG packages in case users on 2.1 are doing anything with PKG packages by hand. In theory all proper package installs on pfSense 2.1 (FreeBSD 8.3) should use PBIs. | ||||
* | Move some of the log file tabs around. | smos | 2012-03-29 | 1 | -1/+1 |
| | | | | Add seperate tabs for dnsmasq,unbound as well as gateways. | ||||
* | Rather make use of grep -c than all these pipes | Warren Baker | 2012-03-13 | 1 | -2/+2 |
| | |||||
* | Simplify this code a little and make it easily extendible. | Ermal | 2012-03-12 | 1 | -89/+15 |
| | |||||
* | check for presense of file before trying to exec it | Ermal | 2012-03-12 | 1 | -1/+3 |
| | |||||
* | Do not wipe logs on reboot on full install | Ermal | 2012-03-12 | 1 | -18/+54 |
| | |||||
* | Add a small script to disable APM on ATA drives if they claim to support it. ↵ | jim-p | 2012-01-30 | 1 | -0/+3 |
| | | | | | | Leaving this on will kill drives long-term, especially laptop drives, by generating excessive Load Cycles. The APM bit set will persist until the drive is power cycled, so it's necessary to run on each boot to be sure. | ||||
* | Add missing s | jim-p | 2011-09-30 | 1 | -1/+1 |
| | |||||
* | Move hostapd to its own log and tab, so it stops spamming the system log. | jim-p | 2011-09-30 | 1 | -0/+3 |
| | |||||
* | Make initial changes to allow pfSense to work in a jail. | Andrew Thompson | 2011-08-17 | 1 | -23/+33 |
| | | | | | | This mostly avoids starting things that will not work and gets the initial config. Most of the pfSense functionality will not work (pf rules, routing, etc) but it can be used for testing. | ||||
* | Run on CD-ROM, too, it should be writable after rc.cdrom | jim-p | 2011-07-25 | 1 | -4/+2 |
| | |||||
* | Sync password database right after mount, in case it is corrupt. (Except on ↵ | jim-p | 2011-07-25 | 1 | -0/+6 |
| | | | | CD-ROM platform). | ||||
* | Redirect errors to file | Scott Ullrich | 2011-07-17 | 1 | -1/+1 |
| | |||||
* | Remove nohup from the calling for check_reload_status since it may cause ↵ | Ermal | 2011-06-24 | 1 | -1/+1 |
| | | | | issues to the processes that get forked from it. | ||||
* | Add custom boot early hook | Scott Ullrich | 2011-06-21 | 1 | -0/+6 |
| | |||||
* | Remove extra unmatched conf_mount_ro for a potential race condition ↵ | Erik Fonnesbeck | 2011-03-10 | 1 | -2/+0 |
| | | | | preventing writes when generating ssh keys in the background. Ticket #673 | ||||
* | Set PKG_TMPDIR for embedded/nano because it will fill up /var trying to ↵ | jim-p | 2011-02-23 | 1 | -0/+2 |
| | | | | download packages otherwise. (From sullrich) | ||||
* | Run dumpon earlier, split dumpon/ddb from savecore and run savecore later. | jim-p | 2011-01-26 | 1 | -1/+7 |
| | |||||
* | Add support for dumpon/savecore to run on full installs. | jim-p | 2011-01-25 | 1 | -0/+1 |
| | |||||
* | Whitespace fix | jim-p | 2011-01-25 | 1 | -2/+2 |
| | |||||
* | Be less chatty | Scott Ullrich | 2010-12-18 | 1 | -9/+2 |
| | |||||
* | Use fullpath | Ermal | 2010-11-30 | 1 | -4/+4 |
| | |||||
* | Run ecl through php instead of executing directly. | jim-p | 2010-11-30 | 1 | -2/+2 |
| | |||||
* | Add pfSsh.php externalconfiglocator playback script | Scott Ullrich | 2010-11-28 | 1 | -1/+1 |
| | |||||
* | Adding external configuration loader which will look on all found disks ↵ | Scott Ullrich | 2010-11-28 | 1 | -0/+15 |
| | | | | except bootup disk for config.xml. If tconfig.xml is found on an external disk then it tests the roobobj to ensure its a valid file then calls test_config() to ensure it is a valid xml file. Once the file is validated a backup_config() is called to backup the current configuration and finally the file is installed using restore_backup() | ||||
* | Bring interfaces up only if there is a mismatch to allow them to be reassigned. | Ermal | 2010-11-10 | 1 | -3/+0 |
| | |||||
* | Protect from strange situations on bootup by testing for is_array(). Do not ↵ | Ermal | 2010-11-02 | 1 | -0/+3 |
| | | | | add anymore the 127.0.0.2 route its not needed anymore. Also during bootup bring up all interfaces so the assignment process can deal with them(Possibly should be done in another code flow!). | ||||
* | More VPN log fixes, for consistency. Ticket #912 | jim-p | 2010-11-02 | 1 | -9/+9 |
| |