Commit Graph

421 Commits

Author SHA1 Message Date
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
Scott Ullrich
842878b599 Unbreak nanobsd since Ticket #444 2010-05-21 19:54:18 -04:00
Scott Ullrich
ce8efd06df Unbreak nano since ticket #444 2010-05-21 19:07:39 -04:00
Scott Ullrich
69490b5525 Handle mounting of extra filesystems correctly. Ticket #444 2010-05-19 21:19:24 -04:00
Chris Buechler
c4995e627e move mount up for cases where /usr and other partitions may be separate, and needed for other things to function 2010-05-19 21:08:44 -04:00
jim-p
1f0f301c76 Make /var/run/booting exist for more of the actual booting process. Ticket #53. 2010-05-11 11:05:33 -04:00
Scott Ullrich
257c5205bb Revert last commit .. This might not work on Nano 2010-05-05 19:18:12 -04:00
Scott Ullrich
d8d5e511a2 Use mount -a instead of -uw Ticket #444 2010-05-05 19:14:55 -04:00
Ermal
3da49dc3ae Fix file names. 2010-03-29 11:10:53 +00:00
Ermal
328efaba84 Use the -s ident option of mpd to send the logs for the PPPoE/PPTP/L2TP servers to syslogs appropriate files. Create the files for these vpn's as for the others. Logs can be viewed in the VPN tab of the system log. 2010-03-23 22:13:21 +00:00
Scott Ullrich
f6ba4bd1fa Add alias data url option. This code existed but lacked a backend daemon to update the data every 24 hours. Adding this as well. 2010-03-19 19:54:43 -04:00