From cbd040847df406a618fd58b1a92f33dc424d2ffd Mon Sep 17 00:00:00 2001 From: gdt Date: Tue, 31 Aug 2004 18:16:36 +0000 Subject: 2004-08-31 Greg Troxel * Rename scripts to *.sh.in, and use autoconf-style substitution for prefix and localstatedir. --- pkgsrc/ripngd.sh | 44 -------------------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 pkgsrc/ripngd.sh (limited to 'pkgsrc/ripngd.sh') diff --git a/pkgsrc/ripngd.sh b/pkgsrc/ripngd.sh deleted file mode 100644 index ff45b4ed..00000000 --- a/pkgsrc/ripngd.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/sh -# -# ripngd is part of the quagga routing beast -# -# PROVIDE: ripngd -# 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="ripngd" -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" -- cgit v1.2.1