diff options
Diffstat (limited to 'net/xorp-devel/pkg-install')
-rw-r--r-- | net/xorp-devel/pkg-install | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/net/xorp-devel/pkg-install b/net/xorp-devel/pkg-install deleted file mode 100644 index fb1e91cee0cf..000000000000 --- a/net/xorp-devel/pkg-install +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh -# -# $FreeBSD: /tmp/pcvs/ports/net/xorp-devel/pkg-install,v 1.1 2009-12-08 10:53:10 bms Exp $ -# - -PATH=/bin:/usr/bin:/usr/sbin - -if [ -z "${XORP_GROUP}" ]; then - XORP_GROUP=xorp -fi - -case $2 in - POST-INSTALL) - if [ ! -f ${PREFIX}/etc/xorp.conf.sample ]; then \ - cp ${WRKSRC}/rtrmgr/config/multicast4.boot \ - ${PREFIX}/etc/xorp.conf.sample; \ - fi - if pw group show "${XORP_GROUP}" 2>/dev/null; then \ - echo "You already have a group \"${XORP_GROUP}\", so I will use it."; \ - else \ - echo "Adding group \"${XORP_GROUP}\"."; \ - pw groupadd -n ${XORP_GROUP} 2>/dev/null; \ - fi - echo "" - echo "Add the following lines to /etc/rc.conf to enable xorp:" - echo "" - echo "defaultrouter=\"NO\"" - echo "xorp_enable=\"YES\"" - echo "" - echo "A configuration file must be created at ${PREFIX}/etc/xorp.conf before use." - echo "" - echo "Users who will be changing the xorp configuration via xorpsh" - echo "must be members of the group xorp." - echo "" - ;; -esac |