summaryrefslogtreecommitdiffstats
path: root/src/etc/rc.bootup
Commit message (Collapse)AuthorAgeFilesLines
* bootup, change message to "Checking config backups consistency..." to tell ↵PiBa-NL2017-07-031-1/+1
| | | | whats taking time, as there is usually little to cleanup involved
* Use recently added hwaddr field to restore original MAC addressRenato Botelho2017-05-191-26/+1
|
* save uniqueid during bootRenato Botelho2017-05-021-0/+1
|
* Fix #7364 Console assigned VLAN disappears after rebootPhil Davis2017-03-081-1/+4
|
* Vendor MAC Retention - UpdateNOYB2017-02-231-3/+5
| | | | | | Only write if changed or missing. Vast majority of reboots will not have a change so don't hit the file system with a needless write. RAM disk enabled systems will always write due to missing the file on boot up.
* Vendor MAC Retention File ConsolidateNOYB2017-02-151-4/+4
| | | | | | | Use a single file for vendor MAC retention (vendor_mac). a) Writes only one file during boot up rather than a file for each interface. b) More efficient than numerous tiny files. c) Friendlier to write cycle sensitive media in a RAM disk disabled system.
* Vendor MAC Retention File RelocateNOYB2017-02-151-2/+2
| | | | | | Relocate the vendor MAC retention file to /var/db directory. a) It's more at home here with other network interface stuff. b) Friendlier to write cycle sensitive media in a RAM disk enabled system.
* Retain vendor MAC address for all interfaces during boot. Ticket #7011Renato Botelho2017-02-021-0/+24
|
* RAM Disk Management - Update II - Restore RAM Disk Soon as it is Created and ↵NOYB2017-01-081-2/+4
| | | | | | | Include Logs Restoring the RAM disk as soon as it is available will make it easier to include additional content that needs to persist across reboots for packages etc. Include the logs in the RAM disk store so they will persist across reboots.
* RAM Disk ManagementNOYB2017-01-081-2/+2
| | | | | | | | | | | | | | | 1) Treat the RAM disk more like a permanent storage device with content managed/restored by the system and made available at boot up, before needed by any services. a) Handle saving and restoring RAM disk content at reboot/shutdown/boot centrally in more of a system manged fashion. b) If it's in the RAM disk store it gets restored early in the pfSense startup so it's available for whatever needs to use it. c) Services utilizing RAM disk don't need to be aware that their content is on a RAM disk, and handling content restore individually. 2) Has the benefit of eliminating some issues with the previous code as well. Such as... a) Restoring RRD multiple times during boot, potentially at least 3 times, by rc.newwanip, rc.newwanipv6, and rc.boot. Some even overlapping. b) Not removing the backups if/when not being utilized. Such as on a full install with the RAM disk option not enabled. c) Eliminate some duplicate code. 3) Looking forward. a) The more centrally system managed approach may crack the door open to making it easier to include some of the logs in the RAM disk store. As well as anything else that may be useful/desirable to retain in the RAM disk across reboots.
* Remove old hacks used to upgrade from 2.1 to 2.2Renato Botelho2016-12-291-5/+0
|
* Fix #7021: Deprecate device pollingRenato Botelho2016-12-201-5/+0
|
* Fix #6857Renato Botelho2016-12-081-9/+9
| | | | | | | During boot local_sync_acocunts() should be able to access LDAP server on a non-local network or also resolve LDAP server hostname. To make it possible move calls to create static routes and start dnsmasq/unbound to run earlier
* Deprecate nanobsd platform and remove all conditionals that uses itRenato Botelho2016-10-121-2/+1
|
* Remove all calls to conf_mount_r* functionsRenato Botelho2016-10-121-2/+0
|
* Retire cdrom platform supportRenato Botelho2016-10-121-47/+1
|
* Move copyright from ESF to NetgateRenato Botelho2016-09-061-1/+1
|
* Move to Apache License 2.0Renato Botelho2016-07-151-41/+9
|
* Review license / copyright on all files (final round)Renato Botelho2016-07-151-2/+2
|
* Review license / copyright on all files (1st round)Renato Botelho2016-07-141-29/+52
|
* Move terminal config from cons25 to xterm, same used by FreeBSDRenato Botelho2016-05-311-4/+4
|
* A simple fix for #6120Renato Botelho2016-05-091-2/+2
| | | | | - Retire system_console_configure() - Replace above call on rc.bootup by setup_serial_port()
* Alias Tables RAM Disk StoreNOYB2016-04-171-0/+3
| | | | | | | | If ramdisk is enabled keep a copy of the alias tables to restore at boot time. Otherwise unpredictable behavior may occur due to some aliases not being available when the firewall rules load. Because alias tables are typically somewhat static, the following strategies are employed to keep write cycles to a minimum for SSD and flash drive type devices friendliness. 1) Back up during reboot/shutdown only if a backup copy of the alias table does not already exists. This is typically during the reboot when ramdisk is first enabled. 2) Update the backup copy only when the alias table is updated with a new download, typically 1 or more days, as configured in the firewall alias.
* Do not try to register pre-installed packages on read-only mediaRenato Botelho2016-04-071-1/+3
|
* Ticket #6053Renato Botelho2016-04-041-4/+2
| | | | | | | | - Do not call ntpdate before start ntpd, ntpd -g parameter is enough - Deprecate /usr/local/sbin/ntpdate_sync_once.sh - Remove system_ntp_configure parameter and always start ntpd (cherry picked from commit 5a758355ec9a20ff75c9191b6915df64255fb8be)
* Have recovery mode go to a shell as intended.Chris Buechler2016-03-211-1/+1
|
* Detect binary packages installed but not registered in the system and do it ↵Renato Botelho2016-03-031-1/+5
| | | | during boot
* Avoid triggering initial wizard before rebootPhil Davis2015-12-211-0/+6
| | | | | | | | | | | If you use the the webGUI to reset to factory defaults, then while the existing system is shutting down you navigate off to the dashboard, the initial setup wizard will start. The trigger_initial_wizard flag file is deleted, and so after the reboot the initial setup wizard will not be triggered. This change fixes that sequence of events by using a different flag file across the reboot, and switching it back to the usual flag file name during the subsequent boot up.
* Automatically choose some interface combinationsPhil Davis2015-12-081-0/+4
| | | | | | | | | | | | | | | | | | | on factory default boot. This allows the system to switch interfaces from the newer ones in the default config (e.g. em0 em1) back to the interfaces used by: Alix - vr1 vr0 APU - re1 re2 that match the WAN and LAN labels printed on many existing devices. It means these devices can boot the default config and this will automatically detect that there is no em0/em1 and will instead select whatever exists out of vr1/vr0 or re1/re2. This avoids the user having to use the serial cable to do interface assignment when starting a brand new image, or when resetting to factory defaults. It could easily be extended to other common interface combinations. For me, this (or similar) would be very beneficial. At remote sites it is really good if it is possible to do reset to factory defaults, or put a fresh CF/SD card in, and the system boots without needing to connect a serial cable and do interface assignment.
* Redmine #4279 Package reinstall displayed when shutting down before upgradePhil Davis2015-12-071-0/+6
| | | | | | | | | | | | Use a different flag file to indicate that a package reinstall is required after a reboot is done first. This avoids the possibility that the user navigates in the webGUI during the time while the shutdown is in progress and is accidentally presented with the reinstall all packages GUI button. Early in rc.bootup switch the flag file to use its ordinary name, so that all subsequent code in boot scripts and webGUI will work as it already does to handle the package reinstall and notifying the user that a package reinstall is about to be done or in progress...
* Reinstall packages from old versions when upgrading to 2.3Renato Botelho2015-11-121-9/+7
|
* Merge pull request #1803 from nagyrobi/patch-18Renato Botelho2015-10-021-3/+3
|
* Use product_name global variable in more placesRenato Botelho2015-09-301-1/+1
|
* Move main pfSense content to src/Renato Botelho2015-08-251-0/+428
OpenPOWER on IntegriCloud