ajacoutot
c4b90b3612
Make it possible to mark an rc action as unsupported by setting the
corresponding variable to NO.
e.g.
rc_reload=NO
This will save us the trouble of copying the same rc_reload() function
(or others) all over the tree.
ok robert@
14 years ago
ajacoutot
0ac91ffd59
Sanitise daemon_flags: remove multiple whitespaces from _rcflags.
requested by okan@, ok robert@
14 years ago
robert
97fd28dab8
Do not overwrite the settings in the rc scripts itself, so use the same
method to handle _class, _user and _shell as we do for _flags.
discussed with and ok ajacoutot@
14 years ago
robert
b8cf932a14
Add support for setting _user _class and _shell for a specific daemon,
and use su to start the daemons.
By default if there is no class defined, daemon will be used. For a shell
it defaults to /bin/sh.
14 years ago
millert
04ae106a16
The awk's split() starts numbering array indices at 1 not 0.
14 years ago
claudio
48f09b7f57
Update example filterset to include a basic IPv6 filterset.
While there extend the current IPv4 filterset.
OK sthen@, henning@
14 years ago
otto
ed51634dbd
better line for net.inet.carp.log reflecing current reality;
ok mcbride@ claudio@ henning@
14 years ago
ajacoutot
383753a760
Do like in rc.local and print the daemon name before running rc_stop.
ok robert@
14 years ago
miod
48d32bc4e0
regen
14 years ago
miod
5caa9a05a9
Sync MAKEDEV against conf.c, and both against GENERIC.
14 years ago
ajacoutot
29231ce06c
Consistency and remove the >50 spaces after 'do'...
ok robert@
14 years ago
matthieu
2514a9bb9a
Add libXi doc dir
14 years ago
ajacoutot
9377125bb7
Don't print 'Null message body; hope that's ok' in the rc output if the
call to rc.firstime doesn't output anything to mail(1).
ok deraadt@ halex@
14 years ago
ajacoutot
4f3be43f84
Print the daemon name _before_ starting the corresponding rc script.
"makes sense" schwarze@, ok robert@
14 years ago
deraadt
ee32a82a4b
delete excessive ; use
14 years ago
matthieu
07034f71eb
New doc directories for updated libs. remained by naddy@. thanks.
14 years ago
robert
5bbfd7b67c
remove my debug printf
14 years ago
robert
d8008fb0fb
After discussing with Ingo and Antoine we decided to rename
files to not include -. This way we can easily overwrite
daemon flags from rc.conf.local.
14 years ago
robert
3f59bf9ad3
add $
14 years ago
espie
60394f828b
let the readmes directory be standard
14 years ago
ajacoutot
cfcca0b7b6
Protect variable names, to be consistent with rc(8).
ok robert@
14 years ago
robert
bb62dcba0d
Remove 'status', because 'check' is what is used internally and we don't
need two functions doing the same thing, and also allow check to run as
non-root.
14 years ago
robert
f17fc3744c
Missing redirection to /dev/null in rc_start
14 years ago
robert
65db6172a9
quote $local_rcconf in [ ] and remove eval from rc_start()
14 years ago
robert
cfe71d6442
Add a simple 'rc' system to base in order to start/stop/restart/reload
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@
14 years ago
deraadt
e7843bd6f0
grow i386 inside media a teeny bit
14 years ago
schwarze
43336f43eb
There is no more groff in the base system, so use mandoc(1) to format
manuals on demand by man(1), even though a few manuals may still have
formatting issues with mandoc, and a tiny fraction may still make
mandoc error out.
Also remove the .me and .ms _build rules: we don't support these
formats any longer, and don't have any such manuals in base.
OK deraadt@ sthen@
14 years ago
deraadt
e5d43ba0a6
sync
14 years ago
deraadt
9a4c6833db
oops! we need to retain the usr/share/tmac directory until we figure
out what to do with vgrind.
14 years ago
deraadt
6efa7df9d3
The base no longer uses old groff -- it uses mandoc(1). The ports tree still
sometimes needs groff, but there it is pulled in as a build-dependency, and
it is the newer groff. We are able to do this now due to the hard work if ingo.
14 years ago
deraadt
94fd091f15
Revert non-compatible and undocumented bullshit commited by 3 developers
who decided to just do it on their own. henning, mcbride, jsing -- shame
on you -- if you had shown this diff to just 1 other network developer,
the astounding mistake in it would have been noticed. Start practicing
inclusionary development instead of going alone.
ok claudio
14 years ago
deraadt
50ae373415
no more misc set
14 years ago
deraadt
fa51739a98
stop creating the stupid /usr/share/doc subdirs
14 years ago
jsing
9330676d26
Add quirks support to operating system fingerprinting. tcpdump part
by mcbride@.
ok mcbride@ henning@
14 years ago
sthen
c8795cfca1
add a sample for "socket ... restricted", prompted by mail from
Patrick Lamaiziere, ok henning@
14 years ago
david
033e628469
install nsd.conf; ok jakob@
14 years ago
ratchov
026351a18a
regen
14 years ago
ratchov
1edb990c9d
allocate a major number to midi, since midi is already enabled
ok deraadt, miod
14 years ago
claudio
fddc041228
Update the OpenBSD fingerprint to match against -current systems.
The automatic send and recv buffer scaling changed the OS fingerprint.
OK jsg@, sthen@
14 years ago
jakob
f5152e9a3d
add nsd.conf; ok deraadt
14 years ago
jakob
626b2965bc
start nsd(8); ok deraadt
14 years ago
claudio
61e9569631
regen
14 years ago
claudio
7d123e238f
Add pppx(4) to MAKEDEV but do not create the device unless requested
explicitly. OK dlg@ & todd@
14 years ago
claudio
a3a08bcac1
Move the vscsi __devitem() so that it is before the _mcdev() line like
for all other definitions. Both dlg@ and todd@ wanted that to be a
seperate commit.
14 years ago
deraadt
830dbd7e50
Kill msgs. Noone uses it, and it has a longjmp in it.
Lots of agreement.
14 years ago
naddy
76c47babcc
add ssh_host_ecdsa_key to /etc; from Mattieu Baptiste <mattieu.b@gmail.com>
ok deraadt@
14 years ago
miod
603df58af1
Regen
14 years ago
miod
5263d7299f
Reorder device entries within sections, for MAKEDEV.8 to have them sorted.
Prodded by jmc@.
14 years ago
krw
6c235d9893
If hppa doesn't need a fakecdrom disktab entry, neither does hppa64.
ok deraadt@
14 years ago
jakob
425b03b14c
better TSIG key example
14 years ago