Commit Graph

431 Commits

Author SHA1 Message Date
smos
2f8782fe42 More validation for ejecting CDrom devices for 3G sticks, needs extra manufacturers. Less typos in variable names also helps a lot. 2012-05-26 09:28:42 +02:00
smos
793d3c961d Attempt to Eject the CD device on 3G sticks for Huawei and ZTE devices. 2012-05-20 20:01:39 +02:00
jim-p
e0c45357b2 Move routing (radvd, routed, ospf, bgp) to its own log since these daemons can be really spammy at times. 2012-05-01 16:00:10 -04:00
Phil Davis
152c18f002 Store PBIs in /root/var/db/pbi so they persist across reboots.
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.
2012-04-18 12:14:27 +05:45
smos
e0977fed0f Move some of the log file tabs around.
Add seperate tabs for dnsmasq,unbound as well as gateways.
2012-03-29 12:20:03 +02:00
Warren Baker
71bdd22613 Rather make use of grep -c than all these pipes 2012-03-13 15:00:58 +02:00
Ermal
973b2663e4 Simplify this code a little and make it easily extendible. 2012-03-12 10:55:26 +00:00
Ermal
06fd1952d3 check for presense of file before trying to exec it 2012-03-12 10:34:29 +00:00
Ermal
e8197e56f3 Do not wipe logs on reboot on full install 2012-03-12 10:32:57 +00:00
jim-p
92ac3b3d45 Add a small script to disable APM on ATA drives if they claim to support it. 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.
2012-01-30 16:24:58 -05:00
jim-p
b3e15d1ba9 Add missing s 2011-09-30 20:04:34 -04:00
jim-p
689eaa4dc6 Move hostapd to its own log and tab, so it stops spamming the system log. 2011-09-30 19:57:43 -04:00
Andrew Thompson
7734aea648 Make initial changes to allow pfSense to work in a jail.
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.
2011-08-17 14:15:18 +12:00
jim-p
0165616618 Run on CD-ROM, too, it should be writable after rc.cdrom 2011-07-25 11:01:15 -04:00
jim-p
ca3537ba31 Sync password database right after mount, in case it is corrupt. (Except on CD-ROM platform). 2011-07-25 10:58:21 -04:00
Scott Ullrich
aa840cf9f1 Redirect errors to file 2011-07-17 19:55:11 -04:00
Ermal
01599e5e95 Remove nohup from the calling for check_reload_status since it may cause issues to the processes that get forked from it. 2011-06-24 19:05:58 +00:00
Scott Ullrich
490615d3bc Add custom boot early hook 2011-06-21 12:08:15 -04:00
Erik Fonnesbeck
366538692b Remove extra unmatched conf_mount_ro for a potential race condition preventing writes when generating ssh keys in the background. Ticket #673 2011-03-10 01:55:45 -07:00
jim-p
6c67a28df2 Set PKG_TMPDIR for embedded/nano because it will fill up /var trying to download packages otherwise. (From sullrich) 2011-02-23 12:36:43 -05:00
jim-p
e5323cca19 Run dumpon earlier, split dumpon/ddb from savecore and run savecore later. 2011-01-26 12:42:47 -05:00
jim-p
c3a56ba93a Add support for dumpon/savecore to run on full installs. 2011-01-25 17:02:05 -05:00
jim-p
3b39d0ac8c Whitespace fix 2011-01-25 17:02:04 -05:00
Scott Ullrich
df40aa8662 Be less chatty 2010-12-18 15:43:33 -05:00
Ermal
416e6432eb Use fullpath 2010-11-30 17:17:30 +00:00
jim-p
fb2e53dae7 Run ecl through php instead of executing directly. 2010-11-30 08:40:50 -05:00
Scott Ullrich
690d24af8c Add pfSsh.php externalconfiglocator playback script 2010-11-28 19:04:34 -05:00
Scott Ullrich
206f684d91 Adding external configuration loader which will look on all found disks 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() 2010-11-28 14:03:51 -05:00
Ermal
7f8d463f11 Bring interfaces up only if there is a mismatch to allow them to be reassigned. 2010-11-10 18:43:01 +00:00
Ermal
729931965e Protect from strange situations on bootup by testing for is_array(). Do not 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!). 2010-11-02 21:16:42 +00:00
jim-p
a6607b5fe0 More VPN log fixes, for consistency. Ticket #912 2010-11-02 15:14:11 -04:00
Scott Ullrich
8ad39798ef Update (C) 2010-09-19 16:33:07 -04:00
Scott Ullrich
64183253fa Ensure /etc/gettytab is of a sane size and restore from backup + log if it is not 2010-09-19 16:31:37 -04:00
Ermal
bc0fd36f0b Do not suck in the file but actually execute it. 2010-09-16 17:27:26 +00:00
Ermal
41fb483ad8 Correct typo in file name. Also do not delete users just expire them. 2010-09-08 17:02:50 +00:00
Ermal
e8d0903de4 Start-up first check_reload_status than call rc.bootup since this is the new world order. This unbreaks booting and removes spurious messages during boot. While here for all binaries use full path for correctnes and avoid any 'strange' issues. 2010-09-08 16:45:47 +00:00
Ermal
0ae6daf834 Use the new events mechanisms to dispatch events. 2010-09-07 19:36:53 +00:00
Scott Ullrich
6bc4690047 Only do check on pfSense platform 2010-08-15 14:12:43 -04:00
Scott Ullrich
8a8f51b7cb Only process items if we can find grep 2010-08-15 14:11:55 -04:00
Scott Ullrich
87db1017ee Handle ZFS root partition read-only cases 2010-08-15 14:02:29 -04:00
Scott Ullrich
f402729d90 Do not setup unionfs for /PCBSD 2010-08-14 21:13:35 -04:00
Chris Buechler
b1f4d7d415 add apinger.log here too to silence error at boot 2010-07-24 02:02:54 -04:00
Scott Ullrich
3fb8caf258 Do not nuke /tmp/ on livecd's 2010-06-01 19:05:22 -04:00
Ermal
9a31a1cefa Make sure to cleanup /tmp before using it. Solves config cache issue as a start. 2010-05-28 18:59:12 +00:00
Ermal
8ca2c9ab39 Remove stale code. 2010-05-28 18:56:03 +00:00
Scott Ullrich
8b3a495bac Make installer unionfs 2010-05-23 00:58:25 -04:00
Scott Ullrich
329b7707ec Remove unionfs /, will have to come up with a new plan 2010-05-22 16:48:49 -04:00
Scott Ullrich
0fd8191899 Use unionfs for / 2010-05-22 16:30:05 -04:00
Scott Ullrich
851f41843a Remove stray done 2010-05-21 21:38:12 -04:00
Scott Ullrich
8022e257c2 Do not fsck /cf on each bootup 2010-05-21 20:06:33 -04:00