From 26225e59adf1536f7d3d659803a261872054a793 Mon Sep 17 00:00:00 2001 From: Rong-En Fan Date: Wed, 15 Aug 2007 06:07:05 +0000 Subject: [PATCH] - Use DATADIR macro in rc script as in we do in Makefile Noticed by: sat Approved by: maintainer via mail --- net/ris/files/binlsrv.sh.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/ris/files/binlsrv.sh.in b/net/ris/files/binlsrv.sh.in index 333bad56e57b..97a7bf38ded1 100644 --- a/net/ris/files/binlsrv.sh.in +++ b/net/ris/files/binlsrv.sh.in @@ -21,11 +21,11 @@ load_rc_config "${name}" # Set defaults : ${binlsrv_enable:="NO"} -: ${binlsrv_infdir:="%%PREFIX%%/share/ris/inf"} +: ${binlsrv_infdir:="%%DATADIR%%/inf"} pidfile="%%PID_FILE%%" command="%%PYTHON_CMD%%" -command_args="%%PREFIX%%/share/ris/${name}.py -d" +command_args="%%DATADIR%%/${name}.py -d" required_dirs="$binlsrv_infdir" start_precmd="binlsrv_start_precmd"