aboutsummaryrefslogtreecommitdiff
path: root/japanese
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
parentbf360602cfed31fbb6a4164a0f30aa886fc10f02 (diff)
downloadports-0258697314105463e4d37a9174dc16a7130bb823.tar.gz
ports-0258697314105463e4d37a9174dc16a7130bb823.zip
Notes
Diffstat (limited to 'japanese')
-rw-r--r--japanese/ebnetd/files/ndtpd.sh.sample9
-rw-r--r--japanese/ndtpd/files/ndtpd.sh.sample9
2 files changed, 12 insertions, 6 deletions
diff --git a/japanese/ebnetd/files/ndtpd.sh.sample b/japanese/ebnetd/files/ndtpd.sh.sample
index f83e0b1dd0c8..3abaa419a306 100644
--- a/japanese/ebnetd/files/ndtpd.sh.sample
+++ b/japanese/ebnetd/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
;;
*)
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
;;
*)