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 | |
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')
-rw-r--r-- | japanese/ebnetd/files/ndtpd.sh.sample | 9 | ||||
-rw-r--r-- | japanese/ndtpd/files/ndtpd.sh.sample | 9 |
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 ;; *) |