diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-08-19 03:35:06 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-08-19 03:35:06 +0800 |
commit | 667298aec868280d71675649b3403f64ff6a1f1e (patch) | |
tree | eb5d3e09d4ca22edbaf14eda99881874b1880e35 /japanese/ndtpd | |
parent | 7728a2d4b6c036c7a5da35e0fc71d2663b3ed249 (diff) | |
download | freebsd-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.sample | 9 |
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 ;; *) |