diff options
author | SADA Kenji <sada@FreeBSD.org> | 1999-07-10 20:08:06 +0000 |
---|---|---|
committer | SADA Kenji <sada@FreeBSD.org> | 1999-07-10 20:08:06 +0000 |
commit | 101bf0652a5276a5588c9ead5bb910c195366c9d (patch) | |
tree | 3966a5608fa842737bb755c60488a9974d3a138e /net-mgmt | |
parent | d6e7d4e602ca1e4c2b4a1c6b15c7cfe60cbc8c18 (diff) | |
download | ports-101bf0652a5276a5588c9ead5bb910c195366c9d.tar.gz ports-101bf0652a5276a5588c9ead5bb910c195366c9d.zip |
Some portlints.
PR: ports/12201
Submitted by: Nick Hibma <nick.hibma@jrc.it>
Notes
Notes:
svn path=/head/; revision=20148
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/wide-dhcp/Makefile | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/net-mgmt/wide-dhcp/Makefile b/net-mgmt/wide-dhcp/Makefile index f19ff48f9e81..9e3074c13549 100644 --- a/net-mgmt/wide-dhcp/Makefile +++ b/net-mgmt/wide-dhcp/Makefile @@ -3,7 +3,7 @@ # Date created: 21 November 1995 # Whom: Yoshiro MIHIRA <sanpei@yy.cs.keio.ac.jp> # -# $Id: Makefile,v 1.14 1998/12/05 11:24:05 obrien Exp $ +# $Id: Makefile,v 1.15 1999/02/07 19:46:12 obrien Exp $ # DISTNAME= dhcp-1.4.0p5 @@ -40,35 +40,35 @@ post-install: @${CP} ${WRKSRC}/db_sample/intro.dhcp.jis ${PREFIX}/share/doc/dhcp/ .endif @if [ ! -f ${STARTUP_SCRIPT} ]; then \ - echo "Installing ${STARTUP_SCRIPT} startup file."; \ - echo '#!/bin/sh' > ${STARTUP_SCRIPT}; \ - echo 'DB_POOL=/etc/dhcpdb.pool' >> ${STARTUP_SCRIPT}; \ - echo 'DB_RELAY=/etc/dhcpdb.relay' >> ${STARTUP_SCRIPT}; \ - echo 'DB_BIND=/var/db/dhcpdb.bind' >> ${STARTUP_SCRIPT};\ - echo 'if [ -f $${DB_POOL} -a -f $${DB_RELAY} \'\ + ${ECHO} "Installing ${STARTUP_SCRIPT} startup file."; \ + ${ECHO} '#!/bin/sh' > ${STARTUP_SCRIPT}; \ + ${ECHO} 'DB_POOL=/etc/dhcpdb.pool' >> ${STARTUP_SCRIPT}; \ + ${ECHO} 'DB_RELAY=/etc/dhcpdb.relay' >> ${STARTUP_SCRIPT}; \ + ${ECHO} 'DB_BIND=/var/db/dhcpdb.bind' >> ${STARTUP_SCRIPT};\ + ${ECHO} 'if [ -f $${DB_POOL} -a -f $${DB_RELAY} \'\ >> ${STARTUP_SCRIPT}; \ - echo ' -a -x /usr/local/sbin/dhcps ]; then' \ + ${ECHO} ' -a -x ${PREFIX}/sbin/dhcps ]; then' \ >> ${STARTUP_SCRIPT}; \ - echo ' if [ -f $${DB_BIND} ]; then' >> ${STARTUP_SCRIPT};\ - echo ' find $${DB_POOL} -newer $${DB_BIND} -exec rm $${DB_BIND} \;'\ + ${ECHO} ' if [ -f $${DB_BIND} ]; then' >> ${STARTUP_SCRIPT};\ + ${ECHO} ' find $${DB_POOL} -newer $${DB_BIND} -exec ${RM} $${DB_BIND} \;'\ >> ${STARTUP_SCRIPT}; \ - echo ' fi' >> ${STARTUP_SCRIPT}; \ - echo " ${PREFIX}/sbin/dhcps [Interface Name]" \ + ${ECHO} ' fi' >> ${STARTUP_SCRIPT}; \ + ${ECHO} " ${PREFIX}/sbin/dhcps [Interface Name]" \ >> ${STARTUP_SCRIPT}; \ - echo " echo -n ' dhcps'" \ + ${ECHO} " ${ECHO} -n ' dhcps'" \ >> ${STARTUP_SCRIPT}; \ - echo 'fi' >> ${STARTUP_SCRIPT}; \ + ${ECHO} 'fi' >> ${STARTUP_SCRIPT}; \ chmod 755 ${STARTUP_SCRIPT}; \ chown bin.bin ${STARTUP_SCRIPT}; \ fi @if [ ! -c /dev/bpf1 ]; then \ - echo "**********************************************************";\ - echo "* W a r n i n g *";\ - echo "* This DHCP program needs Berkeley packet filter (bpf). *";\ - echo "* To use DHCP, your kernel must be rebuilt with bpf, and *";\ - echo "* make bpf devices on /dev directory. *";\ - echo "* Please read some info file with \`pkg_info ${PKGNAME}'. *";\ - echo "**********************************************************";\ + ${ECHO} "**********************************************************";\ + ${ECHO} "* W a r n i n g *";\ + ${ECHO} "* This DHCP program needs Berkeley packet filter (bpf). *";\ + ${ECHO} "* To use DHCP, your kernel must be rebuilt with bpf, and *";\ + ${ECHO} "* make bpf devices on /dev directory. *";\ + ${ECHO} "* Please read some info file with \`pkg_info ${PKGNAME}'. *";\ + ${ECHO} "**********************************************************";\ fi .include <bsd.port.mk> |