Commit Graph

315 Commits

Author SHA1 Message Date
Renato Botelho
971de1f98a Convert almost all /sbin/sysctl calls to php functions 2014-07-07 20:06:37 -03:00
Renato Botelho
d4b1e549c2 Back to cons25 for now since we found some issues with xterm on serial console 2014-07-02 17:24:25 -03:00
Renato Botelho
edb4b65732 Fix #3647 and other improvements:
- Remove auto_login(), now gettytab is a constant file
- Add reload_ttys(), that will send a SIGHUP to init and make it reload
  /etc/ttys
- Change serial speed on /etc/ttys when necessary
- Change console and serial auto_login on /etc/ttys when necessary
- Change default type from cons25 to xterm
2014-07-01 13:37:42 -03:00
Ermal
f37e37bbdd Remove not needed anymore function 2014-03-06 20:19:38 +01:00
Warren Baker
923e49b1ce Start and configure Unbound on boot 2014-01-29 13:29:46 +02:00
Ermal
08b64f7914 Use events to start sshd rather than relying on forking 2013-12-15 21:15:46 +00:00
Renato Botelho
77a341a458 Add a knob to prefer IPv4 over IPv6, it fixes #2833 2013-12-06 11:39:29 -02:00
Ermal
bee7cd82f8 Resolves #3177. Do a filter reconfigure if the dynds ipsec hosts are present and being reloaded. 2013-09-03 10:27:11 +00:00
Phil Davis
5517f60472 Use physmem and realmem from get_memory() in the appropriate places 2013-08-28 13:13:37 -07:00
Phil Davis
06433d7524 Start DHCrelay6 on boot 2013-07-13 06:15:34 -07:00
Ermal
abb87c2668 Disable apc during bootup since its useless anyway and just consumes memory uselessly 2013-04-22 20:30:22 +00:00
Ermal
e5b89d371f Reload ipsec with dynamic hostnames after bootup that dns is available. Helps: http://forum.pfsense.org/index.php/topic,61301.0.html 2013-04-22 20:29:30 +00:00
Ermal
f11ebed1a6 Not sure why this is part of the bootup process but it shouldn't. Hopefully nothing breaks 2013-04-12 20:04:47 +00:00
Phil Davis
785145350b Say goodbye to routed at bootup
Now that routed/RIP has been removed from the base system, it generates errors trying to start it in the base system boot script.
(I guess that if it is installed as a package, the package start code will bring it up at the end of the base system boot)
2013-02-13 08:04:13 +05:45
jim-p
eac5237654 Do the syslogd restart unconditionally. It happens on IPv4 as well as IPv6. See http://forum.pfsense.org/index.php/topic,58345.0.html 2013-02-12 12:27:22 -05:00
Ermal
76a7d8e443 Merge git pull request 313 from bcyrill with some modifications 2013-01-16 13:29:49 +00:00
smos
2b6f7508db Move up the syslog daemon so that we get a larger part of the bootup sequence. 2013-01-05 17:16:21 +01:00
jim-p
26ee057037 Start dnsmasq before ntp because ntp can fail if it doesn't have proper/working DNS. 2012-12-14 13:41:03 -05:00
Ermal
3a4b014766 Resolves #2529. Load the ipfw module before any commands are executed on CP. Also move the filter_load_ipfw() to captiveportal.inc:captiveportal_load_modules() since no other place uses ipfw(4) 2012-11-22 16:43:47 +00:00
Phil Davis
de00c381fd Add done after NTP Time Client start message
Add a done and newline so the console messages at boot all line up the same.
2012-07-25 19:10:27 +05:45
jim-p
f60156f68f Add an option to System > Advanced, misc tab to enable loading thermal modules (amdtemp, coretemp) 2012-07-06 14:38:21 -04:00
Erik Fonnesbeck
7852ce9b61 Display different message and do not display message about interfaces that do not exist if this is the default configuration. 2012-07-02 11:45:09 -06:00
Erik Fonnesbeck
e0a45ce03c Do not directly print out a message when checking the interfaces, instead saving the list to use later. Display this list before the interface mismatch message. Fixes #2468 and fixes #2531 2012-07-02 04:00:16 -06:00
jim-p
7530177c7c Generalize the Crypto hardware option and add GUI support for AES-NI. 2012-06-12 15:10:24 -04:00
Ermal
76231e6398 Bye, bye olsrd back to packages. 2012-06-07 09:25:27 +00:00
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