diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2004-03-16 20:31:15 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2004-03-16 20:31:15 +0000 |
commit | b77059fee230166d718075c75aefc81e483dfe5b (patch) | |
tree | fc6fe8ade1c97ac875e64603da3c6e22730e0d76 /net/isc-dhcp3-relay | |
parent | a10e88bb72eaab5fa0cecfd0e2923bde510cdba1 (diff) | |
download | ports-b77059fee230166d718075c75aefc81e483dfe5b.tar.gz ports-b77059fee230166d718075c75aefc81e483dfe5b.zip |
Notes
Diffstat (limited to 'net/isc-dhcp3-relay')
-rw-r--r-- | net/isc-dhcp3-relay/pkg-message | 20 | ||||
-rw-r--r-- | net/isc-dhcp3-relay/pkg-plist | 8 |
2 files changed, 15 insertions, 13 deletions
diff --git a/net/isc-dhcp3-relay/pkg-message b/net/isc-dhcp3-relay/pkg-message index 9d89214cebc2..af6992fb34a5 100644 --- a/net/isc-dhcp3-relay/pkg-message +++ b/net/isc-dhcp3-relay/pkg-message @@ -1,7 +1,13 @@ -**** To setup dhcrelay, you have to rename %%PREFIX%%/etc/rc.d/isc-\ - dhcrelay.sh.sample to %%PREFIX%%/etc/rc.d/isc-dhcrelay.sh to - enable automatic startup. - %%PREFIX%%/etc/rc.isc-dhcrelay.conf may need to be edited to setup - the `dhcrelay_servers' as required. If needed, you may also tune - `dhcrelay_options' and `dhcrelay_ifaces', both defaulted to `nothing'. - See dhcrelay(8) for details about possible options. +**** This port installs dhcp relay daemon, but don't invokes dhcrelay by + default. If you want to invoke dhcrelay at startup, put these lines + into /etc/rc.conf. + + dhcrelay_enable="YES" + dhcrelay_flags="" # command option(s) + dhcrelay_servers="" # dhcrelay server(s) + dhcrelay_ifaces="" # ethernet interface(s) + +**** For instance, rc.conf like variables are still read from + %%PREFIX%%/etc/rc.isc-dhcrelay.conf. They should be move + into /etc/rc.conf. Also, the dhcrelay_options variable + must be renamed dhcrelay_flags. diff --git a/net/isc-dhcp3-relay/pkg-plist b/net/isc-dhcp3-relay/pkg-plist index e648975ce276..99969a88e730 100644 --- a/net/isc-dhcp3-relay/pkg-plist +++ b/net/isc-dhcp3-relay/pkg-plist @@ -1,9 +1,5 @@ -@comment $FreeBSD: /tmp/pcvs/ports/net/isc-dhcp3-relay/Attic/pkg-plist,v 1.2 2004-03-05 22:03:03 sergei Exp $ -@unexec if cmp -s %D/etc/rc.isc-dhcrelay.conf %D/etc/rc.isc-dhcrelay.conf.sample; then rm -f %D/etc/rc.isc-dhcrelay.conf; fi -etc/rc.isc-dhcrelay.conf.sample -@exec [ -f %D/etc/rc.isc-dhcrelay.conf ] || cp %D/etc/rc.isc-dhcrelay.conf.sample %D/etc/rc.isc-dhcrelay.conf -etc/rc.d/isc-dhcrelay.sh.sample -@unexec rm -f etc/rc.d/isc-dhcrelay.sh +@comment $FreeBSD: /tmp/pcvs/ports/net/isc-dhcp3-relay/Attic/pkg-plist,v 1.3 2004-03-16 20:31:14 des Exp $ +etc/rc.d/isc-dhcrelay.sh sbin/dhcrelay %%PORTDOCS%%%%DOCSDIR%%/ANONCVS %%PORTDOCS%%%%DOCSDIR%%/CHANGES |