touch /etc/dhclient.conf after install
This lets dhclient run without someone creating a customized file. Requested by: obrien
This commit is contained in:
parent
a4f73518af
commit
41de43aecf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=12128
12 changed files with 18 additions and 6 deletions
|
@ -3,7 +3,7 @@
|
|||
# Date created: 7 Mar 1996
|
||||
# Whom: se
|
||||
#
|
||||
# $Id: Makefile,v 1.18 1998/05/24 03:04:27 steve Exp $
|
||||
# $Id: Makefile,v 1.19 1998/07/14 03:26:34 jseger Exp $
|
||||
#
|
||||
|
||||
DISTNAME= dhcp-2.0b1pl6
|
||||
|
@ -24,6 +24,7 @@ _MANPAGES+= ${CAT8:S%^%${MANPREFIX}/man/cat8/%}
|
|||
|
||||
post-install:
|
||||
${TOUCH} /var/db/dhcpd.leases
|
||||
${TOUCH} /etc/dhclient.conf
|
||||
.for file in dhclient dhcpd dhcrelay
|
||||
if [ -f ${PREFIX}/sbin/${file} ]; then \
|
||||
strip ${PREFIX}/sbin/${file}; \
|
||||
|
|
|
@ -11,3 +11,4 @@ sbin/dhclient
|
|||
sbin/dhcpd
|
||||
sbin/dhcrelay
|
||||
@exec touch /var/db/dhcpd.leases
|
||||
@exec touch /etc/dhclient.conf
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Date created: 7 Mar 1996
|
||||
# Whom: se
|
||||
#
|
||||
# $Id: Makefile,v 1.18 1998/05/24 03:04:27 steve Exp $
|
||||
# $Id: Makefile,v 1.19 1998/07/14 03:26:34 jseger Exp $
|
||||
#
|
||||
|
||||
DISTNAME= dhcp-2.0b1pl6
|
||||
|
@ -24,6 +24,7 @@ _MANPAGES+= ${CAT8:S%^%${MANPREFIX}/man/cat8/%}
|
|||
|
||||
post-install:
|
||||
${TOUCH} /var/db/dhcpd.leases
|
||||
${TOUCH} /etc/dhclient.conf
|
||||
.for file in dhclient dhcpd dhcrelay
|
||||
if [ -f ${PREFIX}/sbin/${file} ]; then \
|
||||
strip ${PREFIX}/sbin/${file}; \
|
||||
|
|
|
@ -11,3 +11,4 @@ sbin/dhclient
|
|||
sbin/dhcpd
|
||||
sbin/dhcrelay
|
||||
@exec touch /var/db/dhcpd.leases
|
||||
@exec touch /etc/dhclient.conf
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Date created: 7 Mar 1996
|
||||
# Whom: se
|
||||
#
|
||||
# $Id: Makefile,v 1.18 1998/05/24 03:04:27 steve Exp $
|
||||
# $Id: Makefile,v 1.19 1998/07/14 03:26:34 jseger Exp $
|
||||
#
|
||||
|
||||
DISTNAME= dhcp-2.0b1pl6
|
||||
|
@ -24,6 +24,7 @@ _MANPAGES+= ${CAT8:S%^%${MANPREFIX}/man/cat8/%}
|
|||
|
||||
post-install:
|
||||
${TOUCH} /var/db/dhcpd.leases
|
||||
${TOUCH} /etc/dhclient.conf
|
||||
.for file in dhclient dhcpd dhcrelay
|
||||
if [ -f ${PREFIX}/sbin/${file} ]; then \
|
||||
strip ${PREFIX}/sbin/${file}; \
|
||||
|
|
|
@ -11,3 +11,4 @@ sbin/dhclient
|
|||
sbin/dhcpd
|
||||
sbin/dhcrelay
|
||||
@exec touch /var/db/dhcpd.leases
|
||||
@exec touch /etc/dhclient.conf
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Date created: 7 Mar 1996
|
||||
# Whom: se
|
||||
#
|
||||
# $Id: Makefile,v 1.18 1998/05/24 03:04:27 steve Exp $
|
||||
# $Id: Makefile,v 1.19 1998/07/14 03:26:34 jseger Exp $
|
||||
#
|
||||
|
||||
DISTNAME= dhcp-2.0b1pl6
|
||||
|
@ -24,6 +24,7 @@ _MANPAGES+= ${CAT8:S%^%${MANPREFIX}/man/cat8/%}
|
|||
|
||||
post-install:
|
||||
${TOUCH} /var/db/dhcpd.leases
|
||||
${TOUCH} /etc/dhclient.conf
|
||||
.for file in dhclient dhcpd dhcrelay
|
||||
if [ -f ${PREFIX}/sbin/${file} ]; then \
|
||||
strip ${PREFIX}/sbin/${file}; \
|
||||
|
|
|
@ -11,3 +11,4 @@ sbin/dhclient
|
|||
sbin/dhcpd
|
||||
sbin/dhcrelay
|
||||
@exec touch /var/db/dhcpd.leases
|
||||
@exec touch /etc/dhclient.conf
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Date created: 7 Mar 1996
|
||||
# Whom: se
|
||||
#
|
||||
# $Id: Makefile,v 1.18 1998/05/24 03:04:27 steve Exp $
|
||||
# $Id: Makefile,v 1.19 1998/07/14 03:26:34 jseger Exp $
|
||||
#
|
||||
|
||||
DISTNAME= dhcp-2.0b1pl6
|
||||
|
@ -24,6 +24,7 @@ _MANPAGES+= ${CAT8:S%^%${MANPREFIX}/man/cat8/%}
|
|||
|
||||
post-install:
|
||||
${TOUCH} /var/db/dhcpd.leases
|
||||
${TOUCH} /etc/dhclient.conf
|
||||
.for file in dhclient dhcpd dhcrelay
|
||||
if [ -f ${PREFIX}/sbin/${file} ]; then \
|
||||
strip ${PREFIX}/sbin/${file}; \
|
||||
|
|
|
@ -11,3 +11,4 @@ sbin/dhclient
|
|||
sbin/dhcpd
|
||||
sbin/dhcrelay
|
||||
@exec touch /var/db/dhcpd.leases
|
||||
@exec touch /etc/dhclient.conf
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Date created: 7 Mar 1996
|
||||
# Whom: se
|
||||
#
|
||||
# $Id: Makefile,v 1.18 1998/05/24 03:04:27 steve Exp $
|
||||
# $Id: Makefile,v 1.19 1998/07/14 03:26:34 jseger Exp $
|
||||
#
|
||||
|
||||
DISTNAME= dhcp-2.0b1pl6
|
||||
|
@ -24,6 +24,7 @@ _MANPAGES+= ${CAT8:S%^%${MANPREFIX}/man/cat8/%}
|
|||
|
||||
post-install:
|
||||
${TOUCH} /var/db/dhcpd.leases
|
||||
${TOUCH} /etc/dhclient.conf
|
||||
.for file in dhclient dhcpd dhcrelay
|
||||
if [ -f ${PREFIX}/sbin/${file} ]; then \
|
||||
strip ${PREFIX}/sbin/${file}; \
|
||||
|
|
|
@ -11,3 +11,4 @@ sbin/dhclient
|
|||
sbin/dhcpd
|
||||
sbin/dhcrelay
|
||||
@exec touch /var/db/dhcpd.leases
|
||||
@exec touch /etc/dhclient.conf
|
||||
|
|
Loading…
Reference in a new issue