reyk
5ff13d280b
add hostapd to rc/rc.conf glue
suggested and ok by kettenis@
19 years ago
hshoexer
d273fc0336
As the isakmpd fifo race is fixed, hook ipsecctl to rc.
ok naddy@ todd@
19 years ago
deraadt
e1e93afe35
move wsconsctl up earlier, so that any key changes made can be used
to (for instance) interrupt dhclient with a ^C instead of a 'CAPS-LOCK C'
from e@molioner.dk checked by matthieu
19 years ago
otto
592916e5d3
Use the new -s flag to mount the /usr and /var partitions. Avoids
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@
19 years ago
deraadt
b4fb1d176a
configure mixers late; obsd@enop.org 4970
19 years ago
tom
0ea2cdfd63
Change "starting rpc daemons" to "starting initial daemons" as we
also start ntpd at this time.
discussed with jmc@; ok deraadt@
19 years ago
camield
614e35d365
add new ftp-proxy startup bits
ok henning beck
19 years ago
henning
9e7dffe8dc
add bits for watchdogd startup, PR4540 Michael Knudsen <e@molioner.dk>
but I put it at a different place, watchdogd is really not a network daemon
19 years ago
deraadt
4b310b828c
split ypserv & ypbind startup; ypserv does not depend on you being a
client; from amh@POBOX.COM
19 years ago
fgsch
09857a3e17
change printed line from `printer' to `lpd'; deraadt@ ok.
19 years ago
mcbride
2ecb4d28e9
Fix the test for successful ifconfig of carp interface on shutdown, makes
graceful shutdown work correctly.
ok mpf@ deraadt@ a long time ago, committed to local repository by accident.
19 years ago
deraadt
370b0c30d3
ntpd -s by default is just a pause if there is no net
19 years ago
dhartmei
709dcb5279
split the dummy ruleset pfctl -f - -e into separate -f - and -e.
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@
19 years ago
tholo
3cf53df36d
Start on a basic ACPI framework -- does not do much more than read out the
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@
19 years ago
millert
aa8da2b0ce
o change wsconsctl.conf subshell into a function
o move test for foo.conf into the foo_conf function proper
19 years ago
millert
b267cad312
Make test(1) usage consistent when testing a variable that may not be set.
OK deraadt@
19 years ago
millert
320f60ca40
o move sysctl and mixerctl parsing into a subroutine instead of a subshell
o update resource limits if kern.maxproc or kern.maxfiles is changed
19 years ago
deraadt
e073c9beee
if, at boot time, a /etc/resolv.conf.save is found, assume this is from
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)
20 years ago
deraadt
802a185408
OK, this is an insane commit. Comes from johnb@ugrad.cs.ualberta.ca, pr 3589.
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.
20 years ago
henning
e381312b15
add ospfd, ok theo
From: Jason Crawford <jasonrcrawford@gmail.com>, whitespace fixes me
20 years ago
millert
15be4f6b60
Only try to run pflogd if pflog0 exists; from mpech@
OK deraadt@ and fgsch@
20 years ago
jsg
0b2c77b5b6
Add support for setting mixerctl values in a sysctl.conf like manner
via mixerctl.conf.
ok deraadt@, earlier version ok henning@
20 years ago
henning
9adb28cbb2
introduce spamlogd_flags to make it easier to e. g. bind spamlogd
to an interface; no change in default config
from Toni Mueller <support@oeko.net>, ja ja ja ja bob
20 years ago
itojun
493321fdbb
default pf rule too restrictive for IPv6 (need to allow NS/NA). deraadt ok
20 years ago
grange
54aa8f7176
Use inet6 pf rules only for inet6-capable setups, first spotted
by form@pdp-11.org.ru .
ok todd@ henning@
20 years ago
henning
8b435b2e5d
kill double whitespace, PR3934, for rea this time and without unrelated
changes
20 years ago
henning
4f76d817e0
ooopppssss, backout last, lots of unrelated changes creeped in, noticed
by jmc
20 years ago
henning
eb0e629233
double whitespace, one from PR3934
20 years ago
henning
c30879d621
unconditionally add -s to ntpd_flags in rc and suggest "" for normal
use in the comment in rc.conf again, idea & ok theo
20 years ago
mcbride
9e4175976e
Set up alternate keyboard encoding earlier in rc.
ok miod@ henning@ deraadt@
20 years ago
hshoexer
7301832925
no need anymore to require isamkpd.policy for isakmpd startup
ok ho@ henning@
20 years ago
deraadt
920550bf73
permit icmp6-type routersol out, and icmp6-type routeradv in, at boot time
20 years ago
henning
33684f5b14
eh, actually add the startup code for ntpd
20 years ago
grange
6bc5d18bac
hotplugd startup.
ok deraadt@
20 years ago
henning
188abf7dfd
dhclient doesn't write a pid file any more; do remove the code that
deals with it at startup; noticed by wilfried, millert ok
20 years ago
mcbride
3fe2b1eb74
Bring down carp interfaces gracefully even if powerdown=YES in rc.shutdown.
ok krw@ deraadt@
20 years ago
deraadt
a32eb59352
spacing
20 years ago
markus
7cb9289915
generate a isakmpd (host) key; ok henning, deraadt, cedric
20 years ago
deraadt
7bcb432182
double check that the carp* interfaces exist before knocking them down,
mcbride and i think this diff looks good but do not feel like doing the
250 meter walk to go test it
20 years ago
otto
2e9faaddb7
Allow spamd_flags banner to contain spaces. Resolves PR 3720.
ok beck@ millert@
21 years ago
cedric
0a6eb8eb04
Fix CARP shutdown. ok deraadt
21 years ago
mcbride
91c2da749d
Pass pfsync and carp traffic in the boot-time pf configuration.
Bring carp interfaces down at shutdown, to make a graceful exit if we're master.
ok deraadt@
21 years ago
henning
b6e4f54302
add the goo for bgpd, theo ok
21 years ago
deraadt
422fed390b
move spamd to a better place; ok henning beck
21 years ago
deraadt
4c48325ab9
A better place for sshd; pointed out by millert
21 years ago
deraadt
fbd752602f
start sshd earlier, ok from various
21 years ago
beck
6706c7e152
add support for spamd greylisting with spamd -g and spamlogd to rc/rc.conf
21 years ago
jmc
5b636f1a40
remove -w option to sysctl;
diffs from Paul de Weerd;
ok deraadt@
21 years ago
beck
30be8f1464
simplify afs startup so all you have to do is say "YES" to get basic
AFS functionality (enough to to pkg_add's)
21 years ago
deraadt
cd38525168
permit rpc.yppasswdd run to be blocked, and block by default; ok henning tedu
21 years ago