robert
8cdc8eb386
Switch amd and spamlogd to rc scripts and make sure that the
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@!
13 years ago
deraadt
250fc02d80
Small bits of fluff before the final re-organization
ok halex
13 years ago
deraadt
8aa252b3a2
ARGH! the third part: socket handling cleanup
13 years ago
deraadt
a4d5d79e92
Oops, the second half of moving the key chunks
13 years ago
deraadt
24135a5a5d
Move various bits of key generation in rc into one function, which we
can run surprisingly early. Move the X socket directory creation code
into a function too.
robert liked it
13 years ago
ajacoutot
9565a7b057
Add the nfs startup scripts.
ok robert@
13 years ago
deraadt
37ebcb60a9
Give up on btd(8) startup until it can prove itself
13 years ago
robert
20b0c2671a
switch pflogd to rc.d
13 years ago
robert
45bc3762d8
only start spamlogd if spamd_flags != NO and spamd_black = NO
spotted by halex@
13 years ago
robert
3094be9e57
make rc_daemons use start_daemon instead of calling the script directly
13 years ago
deraadt
16bbf570d1
oops, the netstart for pfsync *MUST* have the conditional
13 years ago
deraadt
4ba9c49657
disable the afs enable stuff. when nnpfs is re-enabled, that can be added
at the right place.
13 years ago
ajacoutot
08a169bc00
Set ypserv_flags to NO by default.
ok robert@
13 years ago
robert
0aee152d4c
add scripts for aucat and spamd and switch rc to use them
13 years ago
guenther
a87068f040
Eliminate some $? tests by rolling the command into the condition
ok halex@
13 years ago
deraadt
fb470f9954
oops, removed one absolute path which is needed
13 years ago
deraadt
c32559ef4d
kvm_mkdb and dev_mkdb have been reliable for years, so we can run them
silently now.
ok guenther
13 years ago
deraadt
cc05871892
We don't need a conditional around the pfsync start.
(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
13 years ago
robert
a5117518b6
add a script for btd and replace the rc parts
13 years ago
robert
668b904707
add wsmoused script and switch xdm and wsmoused in rc
13 years ago
deraadt
3fe791be41
timed's time is up. use ntpd(8). Even our own fossil developers
switched a while back.
ok miod, kettenis
13 years ago
deraadt
960688826a
Move various "console-ish" services into a new start_daemon block near
the bottom, after checking that they are OK with being there.
ok ajacoutot
13 years ago
deraadt
f237e7b51b
remove mvmeppc; it is really rough shape. ok drahn miod
13 years ago
deraadt
72145a01f0
remove mvmeppc; it is really rough shape. ok drahn miod
13 years ago
robert
7382276c31
add script for xdm
13 years ago
deraadt
bc0bb299e0
Do not use absolute paths for things on our (very simple safe) path.
13 years ago
robert
a3799f1122
move portmap, yp* and kerberos services to rc.d scripts
13 years ago
robert
4598130b1c
make the check more readable
13 years ago
ajacoutot
cb13dbbcc2
Add kerberos startup scripts with backward compatibility goo.
ok robert@ deraadt@
13 years ago
ajacoutot
3ad0c3f168
Fix reload:
* if we try to reload a non running daemon, just exit gracefully, like
we do for 'stop'
* add an rc_check call right after rc_reload to make sure the daemon is
still around; until now we only checked the pkill(1) return code but
that is not enough
ok robert@
13 years ago
ajacoutot
fd33fda085
Sync comments with reality.
13 years ago
sobrado
8b12ccc584
fix typos; while here, improve spacing in comments.
changes to libevent and zlib headers sent to the upstream maintainers.
ok jmc@ (for typos), millert@
13 years ago
jmc
fef4fd0bd9
no more math(3);
13 years ago
schwarze
b04b953bf8
Watch the hostname.if(5) files;
patch originally suggested by mk@; sthen@, naddy@ and ajacoutot@ agree.
13 years ago
ajacoutot
52ec00484b
rc_restart is legit here.
13 years ago
robert
54f8efd937
use the "official" pexp, from antoine@
13 years ago
robert
54efe468d2
sendmail stalls for at least a minute if it cannot resolve or connect
to the machine's hostname either because there is a network problem
or because /etc/hosts is wrong. while trying to resolve it also does
not change it's process name so let's cope with that in the rc script
13 years ago
robert
8bc6d79649
add compat for portmap
13 years ago
ajacoutot
dd2c1227ad
Missed in previous: ypldap.conf(5) is installed now, remove optional.
ok deraadt@
13 years ago
ajacoutot
c8cc77c49b
Install a default ypldap.conf(5) based on the one from the man page
(which we remove now) with a couple of tweaks; use the same base DN and
admin user as our default ldap.conf(5).
13 years ago
robert
71bb532348
remove superfluous semicolon from start_daemon()
13 years ago
robert
6c0bb90640
add scripts for portmap and the yp daemons
13 years ago
robert
5223656147
Add rc.d(8) script for the system daemons that are restartable.
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.
13 years ago
miod
c9f1209aaa
Regen
13 years ago
miod
80dbafc7ee
Remove obsolete drivers descriptions; no change in generated files on all
plotfarms.
13 years ago
miod
d7af2f20f8
Remove support for non-microVAX, non-VAXstation, non-VXT hardware in the
VAX port. This means, 11/7xx, VAX6000 and VAX8x00 systems, as well as SBI,
CMI, BI, XMI and MASSBUS drivers.
Most of these files were not being compiled or kept in compilable state over
the years anyway.
13 years ago
guenther
9c09f464a8
sigset_t is unsigned, so eliminate a warning by shifting a 1U instead
of a 1 when creating signal masks.
ok millert@
13 years ago
martynas
7e499e6ecb
Finalize work on the math library. It's time to do this monster
commit, and deal with problems (if any) in tree.
Note that this adds the following functions. Ports with hacks might
need adjustments.
nexttoward(3), fma(3), nexttowardf(3), fmaf(3), acoshl(3), asinhl(3),
atanhl(3), coshl(3), sinhl(3), tanhl(3), expl(3), expm1l(3), logl(3),
log10l(3), log1pl(3), log2l(3), modfl(3), cbrtl(3), hypotl(3),
powl(3), erfl(3), erfcl(3), lgammal(3), tgammal(3), ceill(3),
floorl(3), lrintl(3), llrintl(3), roundl(3), lroundl(3), llroundl(3),
truncl(3), fmodl(3), remainderl(3), remquol(3), nextafterl(3),
nexttowardl(3), fmal(3).
With this commit, our library implements all functionality required
by C99. Documentation bits will follow.
13 years ago
nicm
0cded3a64f
Fix some awful code in the example, pointed out by millert@.
13 years ago
tedu
f497eb059c
remove svr4 compat references
13 years ago