summaryrefslogtreecommitdiff
path: root/japanese/ndtpd/files
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-08-18 19:35:06 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-08-18 19:35:06 +0000
commit0258697314105463e4d37a9174dc16a7130bb823 (patch)
tree03af0c687889cfff09f531b9d20330ef37b6f91c /japanese/ndtpd/files
parentUpdate to version 3.2 (diff)
handle sh more properly
Submitted by: hrs
Notes
Notes: svn path=/head/; revision=46443
Diffstat (limited to 'japanese/ndtpd/files')
-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
;;
*)