summaryrefslogtreecommitdiffstats
path: root/net/zebra/Makefile
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>1999-12-24 15:56:32 +0000
committerandreas <andreas@FreeBSD.org>1999-12-24 15:56:32 +0000
commit7cc269980353ad2c71aa04a29a4653f3f10635ce (patch)
tree858c81f5095cc657aca0fcdc9c907f0f9ace320f /net/zebra/Makefile
parentbf2d91f7ac44f0bba1b531e91d6f73536d0e29b2 (diff)
downloadFreeBSD-ports-7cc269980353ad2c71aa04a29a4653f3f10635ce.zip
FreeBSD-ports-7cc269980353ad2c71aa04a29a4653f3f10635ce.tar.gz
- Upgrade to 0.83a
- remove zebra.sh from ${PREFIX}/etc/rc.d - start zebra now from /etc/rc.conf.local - new zebra start script is ${PREFIX}/sbin/zebractl {start|stop|restart} Example: /etc/rc.conf.local: defaultrouter="NO" router_enable="YES" router="/usr/local/sbin/zebractl" router_flags="start"
Diffstat (limited to 'net/zebra/Makefile')
-rw-r--r--net/zebra/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/net/zebra/Makefile b/net/zebra/Makefile
index 3aa5928..72b1e81 100644
--- a/net/zebra/Makefile
+++ b/net/zebra/Makefile
@@ -20,9 +20,14 @@ CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc/zebra
post-install:
@${ECHO} "===> installing zebra startup file..."
@${SED} -e "s=!!PREFIX!!=${PREFIX}=" \
- < ${FILESDIR}/zebra.sh \
- > ${PREFIX}/etc/rc.d/zebra.sh
- @${CHMOD} 555 ${PREFIX}/etc/rc.d/zebra.sh
- @${ECHO} "===> done."
+ < ${FILESDIR}/zebractl.sh \
+ > ${PREFIX}/sbin/zebractl
+ @${CHMOD} 555 ${PREFIX}/sbin/zebractl
+ @${ECHO} "Make the following entries in /etc/rc.conf to start zebra:"
+ @${ECHO} "defaultrouter=\"NO\""
+ @${ECHO} "router_enable=\"YES\""
+ @${ECHO} "router=\"${PREFIX}/sbin/zebractl\""
+ @${ECHO} "router_flags=\"start\""
+ @${ECHO} "done."
.include <bsd.port.mk>
OpenPOWER on IntegriCloud