summaryrefslogtreecommitdiff
path: root/etc/rc
AgeCommit message (Collapse)Author
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
2010-12-22Consistantly use /dev/arandom for feeding entropy to the kernel.Theo de Raadt
ok kjell otto miod
2010-11-08Don't print 'Null message body; hope that's ok' in the rc output if theAntoine Jacoutot
call to rc.firstime doesn't output anything to mail(1). ok deraadt@ halex@
2010-11-02delete excessive ; useTheo de Raadt
2010-10-26Add a simple 'rc' system to base in order to start/stop/restart/reloadRobert Nagy
services installed by the ports system (for now). It only uses pgrep/pkill to handle these processes. A manual page will come later. 'put it in' deraadt@
2010-10-01start nsd(8); ok deraadtJakob Schlyter
2010-09-06add ssh_host_ecdsa_key to /etc; from Mattieu Baptiste <mattieu.b@gmail.com>Christian Weisgerber
ok deraadt@
2010-07-27Add ldapd to rc and rc.conf. Enable it at boot with ldapd_flags=.Martin Hedenfal
ok deraadt@ gilles@
2010-07-13When cleaning /tmp at boot, run the slower find unconditionally.Stuart Henderson
Previously if the quick rm -rf failed, find was not run, so some files were not removed. Looks good to tedu@.
2010-06-28Add iked to rc/rc.conf, you can enable it on boot with the iked_flags= var.Reyk Floeter
Also copy the generated RSA key for isakmpd into the iked directory; this way we share the same RSA key by default. ok deraadt@ jsg@
2010-04-25Add ldpd(8) to /etc/rc* files.Michele Marchetto
It needs to be started before the routing daemons. In this way every new prefix learnt by them already has a label associated. discussed with and ok'ed by claudio@
2010-04-23start ``aucat -l'' from /etc/rc, unless aucat_flags=NO, which isAlexandre Ratchov
the default setting in rc.conf. ok deraadt
2010-01-04If a /etc/rc.firsttime file exists, run it just once, mailing the output toTheo de Raadt
root. If anyone wants to use this in a siteXX.tgz file, please be sure to *concatenate* to the file -- not replace it -- since the installer is going to be using this file itself. discussed with todd and halex
2009-12-04use mv -f to avoid stopping during wrongly mounted root; sbeyer@reactor.deTheo de Raadt
2009-11-23Move ipsec key creation before isakmpd, and sshd to become the firstTheo de Raadt
of the network daemons so that it can be used if another daemon stops in its tracks. ok claudio markus sthen
2009-08-12change some defaults inside amd itself, so that the rc scripts no longerTheo de Raadt
have to pass those options. this makes amd much easier to restart by hand (though it still remains a nasty daemon do that with) ok millert
2009-08-07- specifically match carp+([0-9]):, not just carp*:. avoids spuriousStuart Henderson
attempts to "ifconfig carp down" noticed by david@. - use non-descriptive variables names rather than $if/$junk to encourage people reading the code to think what it's doing; many of the output lines are not interface names. ok david@
2009-08-05correct indentTheo de Raadt
2009-08-04Don't use grep/cut during shutdown, /usr might not be mounted.Stuart Henderson
Spotted by deraadt@. These were used to bring down carp ifaces cleanly; replace with shell features. ok deraadt@, henning@. "Much mo' better" blambert@.
2009-06-30extra spaces found during inspection of other gooTheo de Raadt
2009-06-30Make syslogd create a socket in /var/www/dev when httpd is enabled in orderRobert Nagy
to make logging to syslog work with php for example. ok deraadt@, henning@
2009-06-03Arla client rename from xfs to nnpfs for later upgrades. Tested on various ↵Janne Johansson
arches. ok todd@ beck@
2009-05-31Make sure xdm is installed before trying to run itAlexander Hall
ok deraadt@