Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/dhcpcd/sbin/dhcpcd Don't enforce rc.d usage in ...
details: https://anonhg.NetBSD.org/src/rev/e128140b9a06
branches: trunk
changeset: 326005:e128140b9a06
user: roy <roy%NetBSD.org@localhost>
date: Wed Jan 15 20:58:53 2014 +0000
description:
Don't enforce rc.d usage in the default build.
diffstat:
external/bsd/dhcpcd/sbin/dhcpcd/Makefile | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
diffs (31 lines):
diff -r 4631d06e719b -r e128140b9a06 external/bsd/dhcpcd/sbin/dhcpcd/Makefile
--- a/external/bsd/dhcpcd/sbin/dhcpcd/Makefile Wed Jan 15 20:58:09 2014 +0000
+++ b/external/bsd/dhcpcd/sbin/dhcpcd/Makefile Wed Jan 15 20:58:53 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2014/01/03 22:27:31 roy Exp $
+# $NetBSD: Makefile,v 1.18 2014/01/15 20:58:53 roy Exp $
#
PROG= dhcpcd
@@ -40,18 +40,15 @@
CLEANFILES= dhcpcd.conf.5 dhcpcd.8 \
dhcpcd-run-hooks dhcpcd-run-hooks.8
-SERVICEEXISTS= [ -x /etc/rc.d/$$1 ]
-SERVICECMD= /etc/rc.d/$$1 $$2
-SERVICESTATUS= service_command $$1 status >/dev/null 2>\&1
.for f in dhcpcd-run-hooks dhcpcd.conf.5 dhcpcd.8 dhcpcd-run-hooks.8
${f}: ${f}.in
${TOOL_SED} -e 's:@SYSCONFDIR@:/etc:g' -e 's:@DBDIR@:/var/db:g' \
-e 's:@LIBDIR@:/lib:g' \
-e 's:@HOOKDIR@:/libexec/dhcpcd-hooks:g' \
-e 's:@SCRIPT@:/libexec/dhcpcd-run-hooks:g' \
- -e 's:@SERVICEEXISTS@:[ -x /etc/rc.d/$$1 ]:g' \
- -e 's:@SERVICECMD@:/etc/rc.d/$$1 $$2:g' \
- -e 's:@SERVICESTATUS@:service_command $$1 status >/dev/null 2>\&1:g' \
+ -e 's:@SERVICEEXISTS@::g' \
+ -e 's:@SERVICECMD@::g' \
+ -e 's:@SERVICESTATUS@::g' \
${DIST}/${f}.in > $@
.endfor
Home |
Main Index |
Thread Index |
Old Index