pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

frr: fix dependency information and paths for staticd rc script



Module Name:	pkgsrc-wip
Committed By:	Frank Kardel <kardel%netbsd.org@localhost>
Pushed By:	kardel
Date:		Tue Oct 27 11:42:16 2020 +0100
Changeset:	96053e1049006b9a289bd047dd73eb9cdcea333b

Modified Files:
	frr/files/staticd.sh

Log Message:
frr: fix dependency information and paths for staticd rc script

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=96053e1049006b9a289bd047dd73eb9cdcea333b

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 frr/files/staticd.sh | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diffs:
diff --git a/frr/files/staticd.sh b/frr/files/staticd.sh
index 72ee9602a9..5b553bff34 100755
--- a/frr/files/staticd.sh
+++ b/frr/files/staticd.sh
@@ -1,12 +1,12 @@
 #!/bin/sh
 #
-# ripd is part of the quagga routing beast
+# staticd is part of the frr routing beast
 #
-# PROVIDE: ripd
+# PROVIDE: staticd
 # REQUIRE: zebra
 ##
 
-PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin
+PATH=/sbin:/bin:/usr/sbin:/usr/bin:@PREFIX@/sbin:@PREFIX@/bin
 export PATH
 
 if [ -f /etc/rc.subr ]
@@ -16,11 +16,11 @@ fi
 
 name="staticd"
 rcvar=$name
-required_files="/usr/pkg/etc/frr/${name}.conf"
-command="/usr/pkg/sbin/${name}"
+required_files="@PREFIX@/etc/frr/${name}.conf"
+command="@PREFIX@/sbin/${name}"
 command_args="-d"
 
-socket_dir=/var/run/frr
+socket_dir="@VARBASE@/run/frr"
 pidfile="${socket_dir}/${name}.pid"
 
 load_rc_config $name


Home | Main Index | Thread Index | Old Index