summaryrefslogtreecommitdiff
path: root/pkgsrc/ospf6d.sh
diff options
context:
space:
mode:
authorgdt <gdt>2004-08-31 18:16:36 +0000
committergdt <gdt>2004-08-31 18:16:36 +0000
commitcbd040847df406a618fd58b1a92f33dc424d2ffd (patch)
treedba9649be97470ba79d47dbb7a0ef76f361e7817 /pkgsrc/ospf6d.sh
parent630e48072a4a4685a7c04a7b73ae9170d2f0844a (diff)
2004-08-31 Greg Troxel <gdt@poblano.ir.bbn.com>
* Rename scripts to *.sh.in, and use autoconf-style substitution for prefix and localstatedir.
Diffstat (limited to 'pkgsrc/ospf6d.sh')
-rw-r--r--pkgsrc/ospf6d.sh44
1 files changed, 0 insertions, 44 deletions
diff --git a/pkgsrc/ospf6d.sh b/pkgsrc/ospf6d.sh
deleted file mode 100644
index b0088233..00000000
--- a/pkgsrc/ospf6d.sh
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/sh
-#
-# ospf6d is part of the quagga routing beast
-#
-# PROVIDE: ospf6d
-# REQUIRE: zebra
-##
-
-PATH=/sbin:/bin:/usr/sbin:/usr/bin:@PREFIX@/sbin:@PREFIX@/bin
-export PATH
-
-if [ -f /etc/rc.subr ]
-then
- . /etc/rc.subr
-fi
-
-name="ospf6d"
-rcvar=$name
-required_files="@PKG_SYSCONFDIR@/${name}.conf"
-command="@PREFIX@/sbin/${name}"
-command_args="-d"
-
-start_precmd="zebra_precmd"
-socket_dir=/var/run/zebra
-pidfile="${socket_dir}/${name}.pid"
-
-zebra_precmd()
-{
- rc_flags="$(
- set -- $rc_flags
- while [ $# -ne 0 ]; do
- if [ X"$1" = X-P -o X"$1" = X-A ]; then
- break
- fi
- shift
- done
- if [ $# -eq 0 ]; then
- echo "-P 0"
- fi
- ) $rc_flags"
-}
-
-load_rc_config $name
-run_rc_command "$1"