aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/ndtpd
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-08-19 03:35:06 +0800
committerijliao <ijliao@FreeBSD.org>2001-08-19 03:35:06 +0800
commit667298aec868280d71675649b3403f64ff6a1f1e (patch)
treeeb5d3e09d4ca22edbaf14eda99881874b1880e35 /japanese/ndtpd
parent7728a2d4b6c036c7a5da35e0fc71d2663b3ed249 (diff)
downloadfreebsd-ports-gnome-667298aec868280d71675649b3403f64ff6a1f1e.tar.gz
freebsd-ports-gnome-667298aec868280d71675649b3403f64ff6a1f1e.tar.zst
freebsd-ports-gnome-667298aec868280d71675649b3403f64ff6a1f1e.zip
handle sh more properly
Submitted by: hrs
Diffstat (limited to 'japanese/ndtpd')
-rw-r--r--japanese/ndtpd/files/ndtpd.sh.sample9
1 files changed, 6 insertions, 3 deletions
diff --git a/japanese/ndtpd/files/ndtpd.sh.sample b/japanese/ndtpd/files/ndtpd.sh.sample
index f83e0b1dd0c8..3abaa419a306 100644
--- a/japanese/ndtpd/files/ndtpd.sh.sample
+++ b/japanese/ndtpd/files/ndtpd.sh.sample
@@ -29,20 +29,23 @@ MakeWorkingDirectory() {
}
conf=@prefix@/etc/ndtpd.conf
+ndtpd=@prefix@/sbin/ndtpd
+ndtpcheck=@prefix@/sbin/ndtpcheck
+ndtpcontrol=@prefix@/sbin/ndtpcontrol
-ndtpcheck -c ${conf} || exit
+${ndtpcheck} -c ${conf} || exit
case "${command}" in
start)
MakeWorkingDirectory
if [ "${standalone}" = YES ]; then
- @prefix@/sbin/ndtpd && echo -n " ndtpd"
+ ${ndtpd} && echo -n " ndtpd"
fi
;;
stop)
if [ "${standalone}" = YES ]; then
- @prefix@/sbin/ndtpcontrol terminate && echo -n " ndtpd"
+ ${ndtpcontrol} terminate && echo -n " ndtpd"
fi
;;
*)