summaryrefslogtreecommitdiff
path: root/etc/rc
AgeCommit message (Collapse)Author
2011-10-13Start ldapd(8) earlier so that ypldap(8) can properly run (an LDAPAntoine Jacoutot
server _must_ be running and accessible before ypldap is started). Add a proper pexp in the ypldap rc script. discussed with pyr@ robert@ deraadt@ ok deraadt@
2011-10-07The new ypbind changes requires that the domainname be set beforeTheo de Raadt
rc.conf is run. There's no real downside. ok aja
2011-10-06ccd goes to the atticTheo de Raadt
discussed with jsing and millert
2011-09-16Add a script for popa3d to support running it outside of inetd.Robert Nagy
2011-07-28supress empty rc.firsttime email and add hostname to the subject lineAlexander Hall
ok deraadt krw
2011-07-20remove an unneeded trailing semicolonAlexander Hall
2011-07-20cleanup of fill_baddynamic()Alexander Hall
ok krw@
2011-07-19random seed handling can now be done fairly early, well, as soon asTheo de Raadt
we are beyond the nfs diskless /var and /usr mounting. Issue also spotted by Hugo Villeneuve, attempt at repair by me. Let's see how it works out in practice... looked at by krw, too
2011-07-19Now that fill_baddynamic() is being called much earlier, it cannot useTheo de Raadt
grep in a NFS diskless environment. Found and fixed by Hugo Villeneuve
2011-07-18put aucat with network daemons for now, until a better solution is foundTheo de Raadt
2011-07-18move aucat very early, to cope with pkgs; ok ajaTheo de Raadt
2011-07-11there is a usage case where ypldap can be used without the localTheo de Raadt
domainname being set. adjust the scripts to start it in that way. discussed with pyr
2011-07-09tee the output from rc.firsttime to /dev/tty before passing it to mail(1)Alexander Hall
so we can enjoy it on the screen as well ok deraadt@
2011-07-08re-add ospfd/ospf6d support which got lost, and build scripts for themTheo de Raadt
2011-07-08early daemons fit on a lineTheo de Raadt
2011-07-08move the pflog0 setup to the pflogd script and onlyRobert Nagy
do that if pf is actually enabled (rely on pfctl -si) requested by deraadt@
2011-07-08Forgot to commit that part yesterday, spotted by sthen@Antoine Jacoutot
2011-07-08simplify, shorten, and "subtly and cleverly" rearrange some daemonTheo de Raadt
startups according to rules that some of us understand. it may come of sounding cocky, but any step beyond that would end up with a dependency graph which will never happen. this file is now ~60% of the length a week ago. ok guenther, robert, aja and people who will not test it until it is in
2011-07-08fix boot output and make sure spamlogd is only started when neededRobert Nagy
2011-07-08Switch amd and spamlogd to rc scripts and make sure that theRobert Nagy
rc_pre() functions are returning correctly. This change also simplyfies the changes because false || return 1 can be replaced with false if that's the last call. thanks halex@!
2011-07-08Small bits of fluff before the final re-organizationTheo de Raadt
ok halex
2011-07-08ARGH! the third part: socket handling cleanupTheo de Raadt
2011-07-08Oops, the second half of moving the key chunksTheo de Raadt
2011-07-08Move various bits of key generation in rc into one function, which weTheo de Raadt
can run surprisingly early. Move the X socket directory creation code into a function too. robert liked it
2011-07-08Add the nfs startup scripts.Antoine Jacoutot
ok robert@
2011-07-08Give up on btd(8) startup until it can prove itselfTheo de Raadt
2011-07-08switch pflogd to rc.dRobert Nagy
2011-07-08only start spamlogd if spamd_flags != NO and spamd_black = NORobert Nagy
spotted by halex@
2011-07-08make rc_daemons use start_daemon instead of calling the script directlyRobert Nagy
2011-07-07oops, the netstart for pfsync *MUST* have the conditionalTheo de Raadt
2011-07-07disable the afs enable stuff. when nnpfs is re-enabled, that can be addedTheo de Raadt
at the right place.
2011-07-07add scripts for aucat and spamd and switch rc to use themRobert Nagy
2011-07-07Eliminate some $? tests by rolling the command into the conditionPhilip Guenthe
ok halex@
2011-07-07oops, removed one absolute path which is neededTheo de Raadt
2011-07-07kvm_mkdb and dev_mkdb have been reliable for years, so we can run themTheo de Raadt
silently now. ok guenther
2011-07-07We don't need a conditional around the pfsync start.Theo de Raadt
(As a reminder to others who spot this weirdness later and get confused like I did: netstart never starts pfsync automatically, because it would screw the states. That is why there is this 2nd manual netstart run for pfsync) ok mpf
2011-07-07add a script for btd and replace the rc partsRobert Nagy
2011-07-07add wsmoused script and switch xdm and wsmoused in rcRobert Nagy
2011-07-07timed's time is up. use ntpd(8). Even our own fossil developersTheo de Raadt
switched a while back. ok miod, kettenis
2011-07-07Move various "console-ish" services into a new start_daemon block nearTheo de Raadt
the bottom, after checking that they are OK with being there. ok ajacoutot
2011-07-07Do not use absolute paths for things on our (very simple safe) path.Theo de Raadt
2011-07-07move portmap, yp* and kerberos services to rc.d scriptsRobert Nagy
2011-07-07remove superfluous semicolon from start_daemon()Robert Nagy
2011-07-06Add rc.d(8) script for the system daemons that are restartable.Robert Nagy
From now on rc(8) is going to call these scripts to start them up on boot in the same order than before. In addition the inetd and rwhod variables in rc.conf are deprecated so that inetd_flags and rwhod_flags should be used. The old flags are still going to be used for some time to allow users to switch. There are more rc modifications to come later so let's put this in so we can base more work on this. It is important to mention that you can still keep using rc.local just like the way you did before, and we have no intention to remove that either. I'd also like to thank ajacoutot@, halex@, sthen@ and schwarze@ for working on this with me.
2011-04-22Move the rc.d(8) bits from rc.{local,shutdown} directly into /etc/rc.Antoine Jacoutot
By default, rc.{local,shutdown} don't output anything anymore. original idea from schwarze@ discussed with deraadt@ and no objection from millert@ ok schwarze@ robert@
2011-04-16Output 'starting standard daemons:' to be consistent with the rest.Antoine Jacoutot
ok deraadt@
2011-03-23use ssh-keygen -A; ok deraadtKevin Steves
2011-03-17- introduce the INRC environment variable so that rc.subr(8) knows if itRobert Nagy
gets called from rc.local or rc.shutdown - notify the user if a given operation was successfull or not by appending the (ok) or (failed) strings to the end of the daemon name - hide stdout and stdin unless RC_DEBUG=1 is set, otherwise all the function names will be printed out and all output sent to stdin or stdout - since from now on rc.subr is taking care of printing out the daemon names on startup, we don't need to do this from rc.{local,shutdown} anymore brainkilling work done by me and ajacoutot@, ok ajacoutot@
2011-01-14in the most trivial way, request that the kernel arc4random re-key afterTheo de Raadt
we run netstart ok tedu, djm liked it too
2011-01-10talk to /dev/arandom as a single read or write.Theo de Raadt
in particular a single write will result in a single re-key event, rather than 64 writes causing 64 re-keys -- wasting the kernel's time. ok guenther