robert
658cf4e69a
Use arugments for rc script instead of environment variables to indicate
debug mode.
This commit also adds a force mode for the script to allow one to force
operations even if daemon_flags is set to NO.
In this case the sane default values will be used for each script.
e.g.: "/etc/rc.d/foo -f start" will start sshd even if it's disabled
ok ajacoutot@
13 years ago
okan
cdc16e8022
remove the /usr/share/man/ps* hierarchy and supporting variables; MANPS
disappeared during the source manuals switch.
no objections from schwarze@ jmc@ deraadt@
13 years ago
jmc
38829c6b69
tweak previous;
13 years ago
henning
cd6e519e99
improve -s description. the major points are set vs adjust and stay in
the forground until we receive a reply or hit the 15 second timeout.
with theo, evolved out of sth completely different
13 years ago
robert
58c707781f
use the correct regexp to find the ldapd server process
from MERIGHI Marcus <mcmer-openbsd@tor.at>
13 years ago
robert
84626692a3
Add a script for popa3d to support running it outside of inetd.
13 years ago
william
4df0422656
ntpd doesn't really support reload, so don't allow it in the rc script.
ok ajacoutot robert
13 years ago
matthieu
8fe165f391
Sync protocols 43 (ipv6-route) & 44 (ipv6-frag) names with IANA database.
ok henning@, bluhm@
13 years ago
jmc
16f1cecda2
some minor tweaks;
13 years ago
jmc
f30a4c031e
make -column lists pretty again;
specifically, rewrite them to permit some markup in the column headers,
and use "Ta" instead of literal tabs; mandoc does not currently match groff
100%, but a mandoc fix may be some time off, and we've gone enough releases
with poorly formatting column lists.
in some cases i have rewritten the lists as -tag, where -column made
little sense.
13 years ago
miod
e9d0d325e3
regen
13 years ago
miod
2a61dccde4
Add audio devices.
13 years ago
jmc
a9a87846de
in column lists, enforce the following ordering:
.Bl -column header1 header2 ... <Bl flags>
mixing things up confuses mandoc, and adding flags in can screw up the list.
this hopefully just makes things a bit safer (and more consistent).
(one more bit of work left and all column lists should format how we want)
13 years ago
aschrijver
a07b5115e0
Add support for the netid.byname YP map. This map is used by getgrouplist(3),
which is used by (amongst other things) initgroups(3) to set the supplemantary
groups on login.
OK pyr@
13 years ago
nicm
629fd2b83a
Read amd_master using print -rn, fixes problems if the file has multiple
lines. Problem noticed by me, this solution from halex@.
ok halex aja
13 years ago
ajacoutot
1c55be2758
Add IANA allocated port for sieve: 4190.
ok sthen@ deraadt@
13 years ago
robert
84efc8ed17
create pflog0 if pf is enabled just like we do in the pflogd script
from sthen@
13 years ago
robert
8c0d3db40f
handle /var/db/mountdtab in the mountd script and not in nfsd
13 years ago
robert
16f8f5639d
catch all the three different process names in pexp
13 years ago
robert
1779710298
when reloading do an rc_wait instead of just an rc_check
from david@, okay sthen@ and input from schwarze@
13 years ago
robert
23647f1532
redirect rc_err() output to stderr, from david@
13 years ago
miod
f04401e1db
Fix kernels list
13 years ago
kettenis
319526b4e1
regen
13 years ago
kettenis
69a387f92d
Make sure /dev/diskmap ends of on ramdisk filesystems.
Pointed out by miod@
13 years ago
halex
6ff9d79ec0
supress empty rc.firsttime email and add hostname to the subject line
ok deraadt krw
13 years ago
sthen
b9da1730d8
Show an example of overriding a limit for a specific daemon with rc.d(8).
Use bgpd(8) for this which on a peering router often needs openfiles-cur
to be higher than the default. ok henning@ claudio@ deraadt@
13 years ago
jmc
758ce3a339
tweak previous;
13 years ago
schwarze
52886b1c8c
update HISTORY and SEE ALSO for all of string(3), together with various
smaller improvements; jmc@ and nicm@ both ask me to get this in because
further tweaking will be easier in-tree
13 years ago
jmc
5d26e77ff3
occured -> occurred;
13 years ago
miod
3f8c480969
Recent Single Unix will malloc memory if the second argument of realpath()
is NULL, and third-party software is starting to rely upon this.
Adapted from FreeBSD via Jona Joachim (jaj ; hcl-club , .lu), with minor
tweaks from nicm@ and yours truly.
13 years ago
fgsch
2c7cbc642d
use the right sysctl, doh!
pointed out by Moritz Grimm (mgrimm-at-mrsserver-dot-net)
13 years ago
millert
331d605754
Sync wcslcpy and wcslcat with strlcpy and strlcat. OK deraadt@
13 years ago
sthen
715651b5de
Print the daemon name before starting, and ok/failed afterwards, providing
better visual cues as to what's happening. Feedback/ok aja@ schwarze@
13 years ago
fgsch
3c764b5a63
mention net.inet6.ip6.rediraccept as well around rtsold_flags.
sthen@ ok.
13 years ago
espie
74427696fc
unify kernel building on various platforms.
feedback from miod@ and deraadt@
13 years ago
otto
10c1e27ddb
Show (in the example) that < and > can be used multiple times; ok jmc@
jasper@
13 years ago
jasper
32dcb18e53
- add a MALLOC_OPTIONS section header. the content is already there, but having
a section will help people looking for just the MALLOC_OPTIONS.
ok otto@ jmc@
13 years ago
halex
1fd55b8efc
remove an unneeded trailing semicolon
13 years ago
halex
9b0e191138
cleanup of fill_baddynamic()
ok krw@
13 years ago
deraadt
f31ecbf0cc
random seed handling can now be done fairly early, well, as soon as
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
13 years ago
deraadt
d1eeef20be
Now that fill_baddynamic() is being called much earlier, it cannot use
grep in a NFS diskless environment. Found and fixed by Hugo Villeneuve
13 years ago
deraadt
60b39bc594
put aucat with network daemons for now, until a better solution is found
13 years ago
deraadt
c0a4179719
crank to 5.0
13 years ago
matthew
b8d3e9f631
Expose a bunch of new functionality from POSIX 2008: openat(2),
fchmodat(2), fstatat(2), mkdirat(2), mkfifoat(2), mknodat(2),
faccessat(2), fchownat(2), linkat(2), readlinkat(2), renameat(2),
symlinkat(2), unlinkat(2), utimensat(2), futimens(2), and
fdopendir(3).
"Minor" libc bump.
Tested in a bulk build by naddy@
Much help from guenther@, thib@, tedu@, oga@, and others.
ok deraadt@, naddy@
13 years ago
deraadt
27c88c69d2
move aucat very early, to cope with pkgs; ok aja
13 years ago
ajacoutot
1175d8bb0d
Zap rdate_flags, it's not used anymore.
ok deraadt@
13 years ago
david
f7915a69d7
fix ${pf} variable so that the special pflogd check works; ok deraadt@
13 years ago
david
f1649afe16
add ospfd ospf6d to RCDAEMONS so they get installed; ok deraadt@
13 years ago
david
dffadec31c
use correct spelling of ospf6d script; ok deraadt@
13 years ago
sthen
1fcd42b5d9
Start amd in /etc/amd so it can find maps in files. ok robert@
13 years ago