diff options
author | andreas <andreas@FreeBSD.org> | 1999-12-24 23:56:32 +0800 |
---|---|---|
committer | andreas <andreas@FreeBSD.org> | 1999-12-24 23:56:32 +0800 |
commit | 7cc269980353ad2c71aa04a29a4653f3f10635ce (patch) | |
tree | 858c81f5095cc657aca0fcdc9c907f0f9ace320f /net/zebra-devel/Makefile | |
parent | bf2d91f7ac44f0bba1b531e91d6f73536d0e29b2 (diff) | |
download | freebsd-ports-gnome-7cc269980353ad2c71aa04a29a4653f3f10635ce.tar.gz freebsd-ports-gnome-7cc269980353ad2c71aa04a29a4653f3f10635ce.tar.zst freebsd-ports-gnome-7cc269980353ad2c71aa04a29a4653f3f10635ce.zip |
- 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-devel/Makefile')
-rw-r--r-- | net/zebra-devel/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/net/zebra-devel/Makefile b/net/zebra-devel/Makefile index 3aa59287408d..72b1e81ee5ed 100644 --- a/net/zebra-devel/Makefile +++ b/net/zebra-devel/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> |