Commit Graph

290 Commits

Author SHA1 Message Date
jim-p
b61e89600e Teach mwexec and mwexec_bg how to optionally clear signal masks, and use that when launching ntp or ntpdate. 2012-05-16 14:03:24 -04:00
jim-p
0b8e9d38d8 On its own, ntpd does not sync fast enough at bootup, so bring back the ntpdate sync but improve it so it can't get stuck forever. 2012-05-16 10:48:26 -04:00
jim-p
25ed9cf8a4 Add cheap hack to make syslogd forwarding to IPv6 work at bootup. Fixes #2370 2012-04-18 16:57:02 -04:00
Warren Baker
b738cea7c6 Missed removing the function from here as well 2012-02-23 13:06:40 +02:00
Yehuda Katz
5e4d70a082 Option to disable startup/shutdown sounds 2012-02-22 23:17:05 -05: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
Ermal
a92276d224 Start NTPd after dns since its a requirment and latest changes should help with delays people are reporting. Reminded-by: Jim 2011-08-08 17:55:34 +00:00
Ermal
4e19284675 Correct event calling during bootup for rc.newipsecdns and also convert the command executed during an ipsec even to go through check_reload_status which will prevent races on calling rc.newipsecdns. Which might lead to many filterdns processes. 2011-06-06 18:12:52 +00:00
Ermal
f6bf0661e1 Switch this to check_reload_status event to see if it solves any possible issues of nohup blocking signals to be delivered to filterdns proces. 2011-06-06 17:57:26 +00:00
jim-p
cd11a1426d Drop the ntpdate sync in favor of using ntpd -s, which should have the same net effect without needing the shell script that has been prone to hanging. 2011-04-12 13:52:34 -04:00
jim-p
63e18082bb Backing this out to see if it unbreaks NanoBSD upgrades with packages involved. Revert "Workaround for conf_mount_rw/ro during boot to only allow it to change at the start and end. Fixes #1279"
This reverts commit 548be1fd66.
2011-03-26 17:21:55 -04:00
Erik Fonnesbeck
548be1fd66 Workaround for conf_mount_rw/ro during boot to only allow it to change at the start and end. Fixes #1279 2011-03-22 01:28:23 -06:00
smos
a2a13c9725 Trigger a VPN tunnel reload after configuring IPsec, it will handle all the hostname tunnels after boot finishes 2011-02-21 15:19:59 +01:00
Ermal
393cd3fc97 After finishing the installation clear the flag for package sync. 2011-02-04 10:03:07 +00:00
jim-p
261c7de869 Warn users a different way if packages are being reinstalled in the background. Only lock out package pages, still print a giant warning on the others. (Some people were getting stuck in this state http://forum.pfsense.org/index.php/topic,32531.0.html ) 2011-01-24 14:34:44 -05:00
Scott Ullrich
e9bcc5fef6 Lock firmwarelock when upgrading packages 2011-01-21 10:58:34 -05:00
Ermal
24e61ccedc Ticket #317. Unconditionally synchronize users on bootup this might prevent some reports of ssh keys not being there. 2011-01-10 20:52:06 +00:00
Scott Ullrich
550fea7a19 Do not unlink file, it's handled by behind the scenes pkg-utils.inc code 2011-01-06 16:39:12 -05:00
Scott Ullrich
7aa9ab00ab Fix typo 2011-01-06 16:06:03 -05:00
Scott Ullrich
0c78d2d084 Include pkg-utils.inc 2011-01-06 15:49:49 -05:00
Scott Ullrich
9b1936193f Reinstall packages on bootup during console. Ticket #1156 2011-01-05 16:44:30 -05:00
Ermal
d12654441c Start relayd after routing has been started. 2010-12-10 18:53:07 +00:00
Ermal
c5901d2853 Use full path to binary and silence errors if any on unlink. 2010-12-07 18:32:26 +00:00
Ermal
422bc2a7f3 Move all dynamic dns update processes under the same even 'reload dyndns' since it makes sense to do so. 2010-12-07 18:25:37 +00:00
Ermal
8c41a3e42d Do the filter reload before vpn and some other services which get impacted or impact filter reload. Let alone that they do not impact filter reload at all. 2010-12-07 18:13:56 +00: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
Warren Baker
4395500c09 Recent move (d32d3970d5) of routed/ items required additional files to be updated to reflect correct path. 2010-11-08 08:44:20 +02:00
Chris Buechler
f3239b2d25 unbreak rc.bootup 2010-09-22 13:12:22 -04:00
Ermal
fbd5fc52a7 Bring gitsync to the new check_reload_status behaviour. 2010-09-22 15:27:31 +00:00
Ermal
0ae6daf834 Use the new events mechanisms to dispatch events. 2010-09-07 19:36:53 +00:00
Ermal
92150bd8cb Revert "Remove redundant call to system_dhcpleases_configure. It is called in services_dnsmasq_configure."
This reverts commit 5f0b6a8f2a.
2010-08-24 11:13:18 +00:00
gnhb
5f0b6a8f2a Remove redundant call to system_dhcpleases_configure. It is called in services_dnsmasq_configure. 2010-08-24 15:55:39 +07:00
Ermal
24d619f5b6 Fixes #837. Fix the startup of dhcpleases during bootup. Also start the dhcpd service earlier there is not reason no to! 2010-08-23 14:47:45 +00:00
Ermal
d09d53ac69 When booting up do not try to configure ovpn[c|s] interfaces if present also try to configure openvpn eariler just after the interfaces have been setup. 2010-08-20 15:48:40 +00:00
Ermal
7d6128e05b Fix comment to match what is actually doing. 2010-08-19 12:46:31 +00:00
Ermal
9a4c3eed18 Setup polling per interface rather only at bootup. This is a proper fix and a optimization on large interface cases. Also setup_microcode and polling defaults before configuring interfaces. 2010-08-19 12:45:14 +00:00
jim-p
1b1c179da7 Use require_once here 2010-08-12 13:20:54 -04:00
Scott Ullrich
032c40c72e Move all console related configuration items to config.console.inc. This will mean that these items are not included when the webConfigurator is being used and only on bootup on the console. 2010-08-09 19:29:27 -04:00
jim-p
bf07217998 Save the old shutdown binary in an attempt to smooth a firmware upgrade that crosses to/from 32/64-bit. 2010-07-29 14:03:19 -04:00
jim-p
a6bd415514 Add an LED pattern function for assigning interfaces, and enable its use. When finished, switch back to the bootup pattern. 2010-07-28 16:40:38 -04:00
gnhb
277d0250b0 Merge branch 'master' of http://gitweb.pfsense.org/pfsense/mainline into mlppp
Conflicts:
	etc/inc/interfaces.inc
	etc/inc/pfsense-utils.inc
2010-06-07 23:24:17 +07:00
Ermal
956950dea4 Fixes #374. Actually reload teh dhcpleases utility whenever the hosts files is regenerated to avoid problems. 2010-06-04 15:57:08 +00:00
gnhb
4749cccb32 Merge branch 'master' of http://gitweb.pfsense.org/pfsense/mainline into mlppp 2010-06-03 23:01:34 +07:00
Ermal
b29d9c8ea3 Start sshd early on boot so it is availble as soon as the first ip is configured. 2010-06-02 16:50:54 +00:00
Renato Botelho
3ffa831888 First steps for 3g serviceproviders support
o Move xml2array from rrd.inc to pfsense-utils.inc because it'll be used
  on non-rrd related places
o Add necessary require_once() calls to pfsense-utils.inc on places that
  are calling xml2array()
o Add serviceproviders.xml, obtained from [1]
o Add ISO xml with country codes and names, obtained from [2]

[1] http://git.gnome.org/browse/mobile-broadband-provider-info/
[2] http://www.iso.org/iso/country_codes/iso_3166_code_lists.htm
2010-06-02 08:30:29 -03:00
Ermal
634e520652 Remove spurious call to mute console. 2010-06-01 23:13:20 +00:00
Scott Ullrich
efce15886d Add newline 2010-05-23 00:44:46 -04:00
Scott Ullrich
22af75a3af Add missing ; 2010-05-22 16:26:38 -04:00
Scott Ullrich
055abc5787 Add (C)ontinue option for the impatient 2010-05-22 15:32:24 -04:00
smos
4994b350e8 Re-create the hosts file on bootup after configuring all the interfaces. Ticket #567 2010-05-19 11:52:56 +02:00