diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2002-02-18 14:52:27 +0800 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2002-02-18 14:52:27 +0800 |
commit | 3098811c08efc1f2852eecf93b126e4fa5b283e8 (patch) | |
tree | 618c278f63dd630aa35d371901775d36ea02a7b7 | |
parent | 4c2e615020d80b0fc43e343a7df7f43c000668ab (diff) | |
download | freebsd-ports-gnome-3098811c08efc1f2852eecf93b126e4fa5b283e8.tar.gz freebsd-ports-gnome-3098811c08efc1f2852eecf93b126e4fa5b283e8.tar.zst freebsd-ports-gnome-3098811c08efc1f2852eecf93b126e4fa5b283e8.zip |
We put bnetd.conf on ${PREFIX}/etc/bnetd , not ${PREFIX}/bnetd/conf .
-rw-r--r-- | games/bnetd/files/bnetd.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/games/bnetd/files/bnetd.sh b/games/bnetd/files/bnetd.sh index fe9cf99c7164..fa3f1fd139f1 100644 --- a/games/bnetd/files/bnetd.sh +++ b/games/bnetd/files/bnetd.sh @@ -1,4 +1,5 @@ #!/bin/sh +# $FreeBSD$ if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then echo "$0: Cannot determine the PREFIX" >&2 @@ -7,7 +8,7 @@ fi case "$1" in start) - cd ${PREFIX}; [ -x sbin/bnetd -a -f bnetd/conf/bnetd.conf ] && sbin/bnetd -c bnetd/conf/bnetd.conf > /dev/null && echo -n ' bnetd' + cd ${PREFIX}; [ -x sbin/bnetd -a -f etc/bnetd/bnetd.conf ] && sbin/bnetd -c etc/bnetd/bnetd.conf > /dev/null && echo -n ' bnetd' ;; stop) killall bnetd && echo -n ' bnetd' |