diff options
author | Robert Nagy <robert@cvs.openbsd.org> | 2010-10-26 20:56:04 +0000 |
---|---|---|
committer | Robert Nagy <robert@cvs.openbsd.org> | 2010-10-26 20:56:04 +0000 |
commit | f3e98b5d75919954908260771ba2a987309c7fa0 (patch) | |
tree | 3c2f30ead3f23405e3a19d86eb5e425855db4890 /etc/Makefile | |
parent | 8a549178ee06b6828240c981a6bdd4e3f523609d (diff) |
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@
Diffstat (limited to 'etc/Makefile')
-rw-r--r-- | etc/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/Makefile b/etc/Makefile index 7ef715adbba..750b6e649f4 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.293 2010/10/18 14:54:47 deraadt Exp $ +# $OpenBSD: Makefile,v 1.294 2010/10/26 20:56:03 robert Exp $ TZDIR= /usr/share/zoneinfo LOCALTIME= Canada/Mountain @@ -255,6 +255,9 @@ distribution-etc-root-var: distrib-dirs ${DESTDIR}/var/mail/root ${INSTALL} -c -o root -g wheel -m 440 ../usr.bin/sudo/sudoers \ ${DESTDIR}/etc/sudoers + cd rc.d; \ + ${INSTALL} -c -o root -g wheel -m 644 rc.subr \ + ${DESTDIR}/etc/rc.d distribution: exec ${SUDO} ${MAKE} distribution-etc-root-var |