summaryrefslogtreecommitdiffstats
path: root/etc/rc
Commit message (Collapse)AuthorAgeFilesLines
* Remove the unnecessary deletion of rc.conf. Add an empty rc.conf with aChris Buechler2015-07-011-5/+0
| | | | note so people don't think they should be using it.
* Don't delete /var/tmp/, that was originally done to clear session data at ↵Chris Buechler2015-06-221-1/+0
| | | | boot, but no longer applicable as session data is no longer in /var/tmp/. Credit to 'aa' on opnsense forum.
* If the filesystem is corrupted i do not think fixing pwd DB is a good thing..Ermal LUÇI2015-06-091-4/+0
|
* No need to do the same exercise twice.Ermal LUÇI2015-06-091-6/+0
|
* Restore the file system in R/W mode during most of rc script seems required ↵Ermal LUÇI2015-06-091-0/+15
| | | | on nano. Should unbreak nanobsd
* Ticket #4523 Major changes to how fsck is done.Ermal LUÇI2015-05-271-4/+22
| | | | | | | Follow best practice of using fsck from FreeBSD rc.d/fsck script. This means run preen mode first and later on try forcefully to fix issues. Try to give as much information during boot on the status of the filesystem.
* Ticket #4523 Run fsck with -C flag and alway in foreground during bootup to ↵Ermal LUÇI2015-05-271-73/+36
| | | | prevent any issues that might schedule background mode.
* Remove redundant/unused call to kldstatRenato Botelho2015-04-141-1/+0
|
* Fix operatorRenato Botelho2015-04-141-5/+5
|
* Fix typo in variable nameRenato Botelho2015-04-141-1/+1
|
* uploadbar dir no longer neededChris Buechler2015-04-041-4/+0
|
* Code style for etc filesPhil Davis2015-02-251-19/+19
|
* Prevent resolvconf(8) from stomping all over our newly generatedWarren Baker2014-12-201-0/+5
| | | | resolv.conf and subsequent updates.
* Setup ddb on all platforms. On full install it will save the dump, on ↵jim-p2014-12-101-0/+5
| | | | | | NanoBSD it will print to console and auto-reboot. This way, a router running NanoBSD won't sit at a db> prompt indefinitely if it crashes.
* Properly unset booting flags to allow dynamic ipsec tunnels to work correctlyErmal LUÇI2014-12-041-3/+5
|
* Try to silence the errors for missing /var/db/rrd during bootup.Ermal LUÇI2014-11-271-1/+1
|
* Don't use pfsense name in commentAdam Gibson2014-07-111-1/+1
|
* Use $product instead of pfSense when logging the version to syslogAdam Gibson2014-07-111-1/+1
|
* Log pfsense version to syslog after bootupAdam Gibson2014-07-111-0/+5
|
* Stop restoring gettytab.bak since it doesn't exist anymoreRenato Botelho2014-07-011-7/+0
|
* Add a BETA key for PBI signature check, this will be replaced by the final ↵Renato Botelho2014-06-271-0/+8
| | | | one before RELEASE. Ticket #3365
* Fix dir nameRenato Botelho2014-06-271-1/+1
|
* Bring in proper gmirror support for the GUI and notifications.jim-p2014-05-301-0/+9
| | | | | | Made a general gmirror library to perform various gmirror tasks and get information, using some of the former widget logic to start. Updated widget to use this new code. Added a Diag > GEOM Mirrors page that displays information about existing mirrors and perform various management tasks. Current actions include rebuilding a drive, forgetting disconnected mirror drives, insert/remove, deactivate/activate, clearing medatada. It's now possible to use the GUI to rebuild a failed mirror by performing a forget, then insert action to replace a missing/dead drive. Also included is a notification setup. Mirror status is polled every 60 seconds, and if any aspect of the mirror changes, notifications are issues that alert in the GUI and by SMTP, etc.
* Sometimes fsck requires a second run, teach rc script to call it more than ↵Renato Botelho2014-05-051-5/+30
| | | | once when it's necessary
* Move clog from /usr to /usr/localRenato Botelho2014-04-281-1/+1
|
* Unload the ZFS module if its not in use to not consume uselss memoryErmal2014-04-171-4/+18
|
* Use the FreeBSD script for ldconfig to catch all libsErmal2014-04-141-0/+1
|
* Get rid of embedded platform. Its time to GC thisErmal2014-04-141-14/+1
|
* 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
|
* Add a setting to allow the user to specify the clog file size so more (or ↵jim-p2013-12-261-2/+8
| | | | less) entries may be kept in the raw logs. Retain previous default size values if the user has not specified a preferred size. Files can only be resized when initialized, so provide a "Reset All Logs" button as well to force clear all logs and set them up at the new size.
* Remove /var/run/booting early to be consistent with $g['booting']Renato Botelho2013-12-241-1/+4
|
* Call all php scripts in bootup with fcgicli. For rc.bootup only the part ↵Ermal2013-12-151-6/+6
| | | | needing input needs to be abstracted
* Switch to php-fpm for lighty and check_reload_status will use it. Step by ↵Ermal2013-12-141-0/+2
| | | | step will migrate the other calls
* 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
OpenPOWER on IntegriCloud