summaryrefslogtreecommitdiff
path: root/etc/rc
AgeCommit message (Collapse)Author
2007-04-25shutdown existing carp interfaces based on ifconfig output, not staticMarc Espie
/etc/*.if files. okay reyk@, deraadt@, krw@...
2007-04-14introduce {fsck,mount}_vnd tools to be able to describe vnd imagesAlexander von Gernler
in /etc/fstab instead of using some weird homegrown scripts. No support for boot time mounting yet, so "noauto" is still needed. original idea from david@ help and discussion todd@ bluhm@ beck@, manpage help jmc@ ok simon@ tedu@ bluhm@ todd@, "looks good" thib@
2007-03-14Allow nmeaattach to start a sensor before starting ntpd. Many modernChris Kuethe
receivers can cold start in the time it takes the boot process to get close to starting ntpd. Even if the gps is not ready or the fix is not valid, at least the sensor has been created; ntpd won't have to wait a few minutes before scanning for the sensor. This makes using GPS as the sole source of time a bit easier. ok deraadt
2007-02-27catch second instance of spamd_grey - thanks millert and jmcBob Beck
2007-02-27spamd_grey=YES should really be spamd_black=NOBob Beck
as disscussed with jmc and millert. ok millert@
2007-02-27Flag day for spamd -Bob Beck
1) config files move to /etc/mail 2) -g option goes away in spamd-setup and spamd - greylisting is now the default 3) option change to spamd, -b addr becomes -l addr. 4) -b option in spamd-setup and spamd to turn on old blacklisting mode. Man page shortly to be flensed to make this easier to explain ok deraadt@ millert@
2007-02-02- add a new "accounting" variable (default to NO) to enable accoutingAntoine Jacoutot
(if the file /var/account/acct does not exist it will be created) ok mk@
2007-01-31link hoststated to the builds.Pierre-Yves Ritschard
ok miod@, henning@
2007-01-06remove acpid references. ok gwk@, steven@, grange@ and janus@.Matthieu Herrb
2006-11-28Move isakmpd's auto-generated public key, local.pub, into /etc/isakmpdRyan Thomas McBride
This makes it readable by unprivileged uses, simplifying configuration, and there is no reason for it to be secret. ok msf deraadt hshoexer
2006-11-16when pf and pflogd are enabled, do a "ifconfig pflog0 create" early.Henning Brauer
rc checks pflog0 existance before starting pflogd0, pbly to not print an error message on pflog-less kernels... ugh. ok mcbride
2006-11-06duh -- on first boot, do not build the host.random file twice; ok djmTheo de Raadt
2006-10-29Add the _ripd user and startup stuff.Esben Norby
ok claudio@
2006-09-27Add ifstated(8) startup bits.Marco Pfatschbacher
OK deraadt@, henning@, mcbride@
2006-09-01Switch boot order: isakmpd starts before sasyncd.Marco Pfatschbacher
If a user is running sasyncd, start isakmpd with -S. In this mode isakmpd starts off passsive and doesn't delete SA's on shutdown. OK ho@, hshoexer@, deraadt@
2006-08-29increase the carp demotion counter by 128 instead of 1 while rc runs.Henning Brauer
you do not want a machine that is in the middle of rc and does not have all network daemons (that possibly increase the carp demotion counter further) to become master just because the other one lost 2 bgp sessions or similar for other daemons (esp sasyncd) and as such has a demotion count of >1. ok mcbride mpf deraadt
2006-08-04remove redundant comments; noted by mpf; ok deraadt, millertMarkus Friedl
2006-06-02Add sasyncd to rc / rc.conf.Ryan Thomas McBride
ok deraadt@ cloder@
2006-06-02Carp demotion interlock. Prevents carp from preempting until the system isRyan Thomas McBride
booted, allowing for daemons to sync with peers before we take over. ok deraadt@ mpf@ moritz@
2006-06-01Hook dhcrelay(8) into the startup process.Esben Norby
ok henning@
2006-06-01add all the goo to hook dvmrp into the systemEsben Norby
ok derradt@
2006-05-29revert vfs.nfs.privport sysctl, broke a few architecturesAnil Madhavapeddy
requested by deraadt@
2006-05-28Add support for NFS mounts to be from non-reserved ports:Anil Madhavapeddy
- new sysctl vfs.nfs.privport to require NFS mount requests to be on reserved ports when set to 1 (the default). - mountd now automatically sets the sysctl depending on the -n flag. - add mountd_flags to rc.conf to enable the -n flag at boot. deraadt@ ok
2006-03-27add hostapd to rc/rc.conf glueReyk Floeter
suggested and ok by kettenis@
2006-03-22As the isakmpd fifo race is fixed, hook ipsecctl to rc.Hans-Joerg Hoexer
ok naddy@ todd@
2006-03-14move wsconsctl up earlier, so that any key changes made can be usedTheo de Raadt
to (for instance) interrupt dhclient with a ^C instead of a 'CAPS-LOCK C' from e@molioner.dk checked by matthieu
2006-03-12Use the new -s flag to mount the /usr and /var partitions. AvoidsOtto Moerbeek
doubly mounted mfs partitions. Also, at the end of the mount dance, try mount all partitions, not just nfs partitions. Handles a case where local paritition mounted inside a nfs partition where not mounted by rc (/usr on nfs with a local /usr/obj, for example). ok deraadt@ henning@
2006-01-12configure mixers late; obsd@enop.org 4970Theo de Raadt
2005-11-30Change "starting rpc daemons" to "starting initial daemons" as weTom Cosgrove
also start ntpd at this time. discussed with jmc@; ok deraadt@
2005-11-16add new ftp-proxy startup bitsCamiel Dobbelaar
ok henning beck
2005-10-31add bits for watchdogd startup, PR4540 Michael Knudsen <e@molioner.dk>Henning Brauer
but I put it at a different place, watchdogd is really not a network daemon
2005-09-22split ypserv & ypbind startup; ypserv does not depend on you being aTheo de Raadt
client; from amh@POBOX.COM
2005-09-19change printed line from `printer' to `lpd'; deraadt@ ok.Federico G. Schwindt
2005-07-25Fix the test for successful ifconfig of carp interface on shutdown, makesRyan Thomas McBride
graceful shutdown work correctly. ok mpf@ deraadt@ a long time ago, committed to local repository by accident.
2005-06-19ntpd -s by default is just a pause if there is no netTheo de Raadt
2005-06-14split the dummy ruleset pfctl -f - -e into separate -f - and -e.Daniel Hartmeier
relevant when the dummy ruleset can't be loaded, we still want to enable pf, otherwise the real ruleset (even if that does load correctly) won't be active. might happen on a non-GENERIC kernel or after an update (before /etc is manually updated). reported by Jim Rees. ok frantzen@
2005-06-02Start on a basic ACPI framework -- does not do much more than read out theThorsten Lockert
ACPI tables into kernel memory and attach ACPI and HPET timers currently. In order to test this code, enabling the devices in GENERIC as well as the ACPI_ENABLE option is needed. This code does not do any thermal control yet, so this should be done with care depending on the platform. In the tree so more people can contribute to making this more fully featured. Ok niklas@ grange@ tedu@
2005-05-19o change wsconsctl.conf subshell into a functionTodd C. Miller
o move test for foo.conf into the foo_conf function proper
2005-05-18Make test(1) usage consistent when testing a variable that may not be set.Todd C. Miller
OK deraadt@
2005-05-18o move sysctl and mixerctl parsing into a subroutine instead of a subshellTodd C. Miller
o update resource limits if kern.maxproc or kern.maxfiles is changed
2005-04-09if, at boot time, a /etc/resolv.conf.save is found, assume this is fromTheo de Raadt
a dhclient that crashed so hard it was unable to swap the file back, and hence, finish that job. i convinced krw and henning that this is right right place (not in netstart)
2005-04-01OK, this is an insane commit. Comes from johnb@ugrad.cs.ualberta.ca, pr 3589.Theo de Raadt
somehow he got his YP and DNS screwed up and nslookup $h was dealing with h = "" which was doing nslookup "", which is bad and hangs boots. be more careful by doing echo $h | nslookup instead.
2005-03-22add ospfd, ok theoHenning Brauer
From: Jason Crawford <jasonrcrawford@gmail.com>, whitespace fixes me
2005-01-19Only try to run pflogd if pflog0 exists; from mpech@Todd C. Miller
OK deraadt@ and fgsch@
2004-11-22Add support for setting mixerctl values in a sysctl.conf like mannerJonathan Gray
via mixerctl.conf. ok deraadt@, earlier version ok henning@
2004-11-03introduce spamlogd_flags to make it easier to e. g. bind spamlogdHenning Brauer
to an interface; no change in default config from Toni Mueller <support@oeko.net>, ja ja ja ja bob
2004-10-22default pf rule too restrictive for IPv6 (need to allow NS/NA). deraadt okJun-ichiro itojun Hagino
2004-10-19Use inet6 pf rules only for inet6-capable setups, first spottedAlexander Yurchenko
by form@pdp-11.org.ru. ok todd@ henning@
2004-09-27kill double whitespace, PR3934, for rea this time and without unrelatedHenning Brauer
changes
2004-09-27ooopppssss, backout last, lots of unrelated changes creeped in, noticedHenning Brauer
by jmc