summaryrefslogtreecommitdiffstats
path: root/etc/rc
Commit message (Collapse)AuthorAgeFilesLines
* Prevent resolvconf(8) from stomping all over our newly generatedWarren Baker2014-12-221-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
* 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
|
OpenPOWER on IntegriCloud