From f3e98b5d75919954908260771ba2a987309c7fa0 Mon Sep 17 00:00:00 2001 From: Robert Nagy Date: Tue, 26 Oct 2010 20:56:04 +0000 Subject: 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@ --- etc/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'etc/Makefile') 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 -- cgit v1.2.3