summaryrefslogtreecommitdiffstats
path: root/etc/rc
Commit message (Collapse)AuthorAgeFilesLines
* Move clog from /usr to /usr/localRenato Botelho2014-04-281-1/+1
| | | | | | | | Conflicts: etc/inc/filter_log.inc etc/inc/system.inc etc/rc usr/local/www/guiconfig.inc
* Remove TRIM_set and TRIM_unset support. This method isn't very elegant and ↵jim-p2014-03-311-23/+0
| | | | isn't necessary in the long run. It's better handled in the installer stage and not after the fact.
* fix typoChris Buechler2014-03-141-2/+2
|
* Remove /var/run/booting early to be consistent with $g['booting']Renato Botelho2013-12-241-1/+4
|
* Fix #3113, fix multiple english spell errors s/seperet/separat/Renato Botelho2013-07-281-1/+1
|
* Merge pull request #608 from evansus/masterrbgarga2013-04-301-1/+1
|\ | | | | Merge commit to correct debugging issue
| * correct debug issueEvan Susarret2013-04-301-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-1rbgarga2013-04-301-3/+3
|\ \ | |/ | | ZFSROOT not hardcoded to zpool or dataset 'tank'
| * Use 'zfs mount' to get ZFSROOT datasetEvan Susarret2013-04-281-1/+1
| | | | | | | | using just zfs, grep, and cut, with a simple regexp
| * ZFSROOT not hardcoded to zpool or dataset 'tank'Evan Susarret2013-04-241-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 ↵Ermal2013-04-291-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-p2013-04-081-1/+1
|
* Only check tunefs status when it's necessary, it avoids errors on iso boot. ↵Renato Botelho2013-04-051-18/+20
| | | | Fixes #2932
* Move tmp/var init to just after mount of /cf so that the sizing works ↵jim-p2013-03-121-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-p2013-03-111-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-p2013-02-021-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-p2013-02-021-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.Ermal2012-12-061-0/+1
|
* Create these dirs earlier rather than later to avoid the errors reported on ↵Ermal2012-11-221-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 ↵Ermal2012-11-201-10/+10
| | | | better handling
* Remove openvpn setups since they do not belong here. Also check before ↵Ermal2012-11-201-9/+3
| | | | removing newsyslog.conf
* Remove sasyncd related code from rcErmal2012-11-201-9/+0
|
* Remove newsyslog.conf seems its responsible for overrideing ppp.log and ↵Ermal2012-11-201-0/+1
| | | | gives warnings on bootup
* Remove all previous configurations stored on /var/etc during a bootup to ↵Ermal2012-11-201-0/+6
| | | | avoid confusion
* More validation for ejecting CDrom devices for 3G sticks, needs extra ↵smos2012-05-261-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.smos2012-05-201-0/+5
|
* Move routing (radvd, routed, ospf, bgp) to its own log since these daemons ↵jim-p2012-05-011-1/+1
| | | | can be really spammy at times.
* Store PBIs in /root/var/db/pbi so they persist across reboots. Phil Davis2012-04-181-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.smos2012-03-291-1/+1
| | | | Add seperate tabs for dnsmasq,unbound as well as gateways.
* Rather make use of grep -c than all these pipesWarren Baker2012-03-131-2/+2
|
* Simplify this code a little and make it easily extendible.Ermal2012-03-121-89/+15
|
* check for presense of file before trying to exec itErmal2012-03-121-1/+3
|
* Do not wipe logs on reboot on full installErmal2012-03-121-18/+54
|
* Add a small script to disable APM on ATA drives if they claim to support it. ↵jim-p2012-01-301-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 sjim-p2011-09-301-1/+1
|
* Move hostapd to its own log and tab, so it stops spamming the system log.jim-p2011-09-301-0/+3
|
* Make initial changes to allow pfSense to work in a jail.Andrew Thompson2011-08-171-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.cdromjim-p2011-07-251-4/+2
|
* Sync password database right after mount, in case it is corrupt. (Except on ↵jim-p2011-07-251-0/+6
| | | | CD-ROM platform).
* Redirect errors to fileScott Ullrich2011-07-171-1/+1
|
* Remove nohup from the calling for check_reload_status since it may cause ↵Ermal2011-06-241-1/+1
| | | | issues to the processes that get forked from it.
* Add custom boot early hookScott Ullrich2011-06-211-0/+6
|
* Remove extra unmatched conf_mount_ro for a potential race condition ↵Erik Fonnesbeck2011-03-101-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-p2011-02-231-0/+2
| | | | download packages otherwise. (From sullrich)
* Run dumpon earlier, split dumpon/ddb from savecore and run savecore later.jim-p2011-01-261-1/+7
|
* Add support for dumpon/savecore to run on full installs.jim-p2011-01-251-0/+1
|
* Whitespace fixjim-p2011-01-251-2/+2
|
* Be less chattyScott Ullrich2010-12-181-9/+2
|
* Use fullpathErmal2010-11-301-4/+4
|
* Run ecl through php instead of executing directly.jim-p2010-11-301-2/+2
|
OpenPOWER on IntegriCloud