aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1999-07-04 19:18:49 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1999-07-04 19:18:49 +0000
commit9c107961c194d172f566b7b9ceb413c98f9d0a52 (patch)
tree3f9ced8819ae0f1920f45c6022f8bab7167e40b1 /net
parentdc47957207e4b05654b4c9dad811510737941779 (diff)
downloadports-9c107961c194d172f566b7b9ceb413c98f9d0a52.tar.gz
ports-9c107961c194d172f566b7b9ceb413c98f9d0a52.zip
Notes
Diffstat (limited to 'net')
-rw-r--r--net/tdetect/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/net/tdetect/Makefile b/net/tdetect/Makefile
index 3652fee5f5a1..0f6e767c9578 100644
--- a/net/tdetect/Makefile
+++ b/net/tdetect/Makefile
@@ -4,7 +4,7 @@
# Date created: Sun Jan 31, 1997
# Whom: shipley@dis.org
#
-# $Id$
+# $Id: Makefile,v 1.1.1.1 1999/05/03 02:49:34 steve Exp $
#
DISTNAME= tdetect-0.2
@@ -26,10 +26,13 @@ post-install:
@if [ ! -f ${PREFIX}/etc/rc.d/tdetect.sh ]; then \
${ECHO} "Installing ${PREFIX}/etc/rc.d/tdetect.sh startup file."; \
${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/tdetect.sh; \
- ${ECHO} "ethernetdev=ed0" > ${PREFIX}/etc/rc.d/tdetect.sh; \
- ${ECHO} "[ -x ${PREFIX}/sbin/tdetect ] && ${PREFIX}/sbin/tdetect \$ethernetdev && echo -n ' tdetect'" >> ${PREFIX}/etc/rc.d/tdetect.sh; \
+ ${ECHO} "ETHERNETDEV=ed0" >> ${PREFIX}/etc/rc.d/tdetect.sh; \
+ ${ECHO} '[ -x ${PREFIX}/sbin/tdetect ] && ${PREFIX}/sbin/tdetect \$ETHERNETDEV && echo -n " tdetect"' >> ${PREFIX}/etc/rc.d/tdetect.sh; \
chmod 750 ${PREFIX}/etc/rc.d/tdetect.sh; \
- ${ECHO} "IMPORTANT ${PREFIX}/etc/rc.d/tdetect.sh and set ethernetdev to the name of the ethernetdev you wish to monitor"; \
+ ${ECHO} ''; \
+ ${ECHO} 'IMPORTANT edit ${PREFIX}/etc/rc.d/tdetect.sh and set "ETHERNETDEV" to'; \
+ ${ECHO} "the name of the ethernetdev you wish to monitor"; \
+ ${ECHO} ''; \
fi
.include <bsd.port.mk>