diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2002-02-18 06:52:27 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2002-02-18 06:52:27 +0000 |
commit | 3098811c08efc1f2852eecf93b126e4fa5b283e8 (patch) | |
tree | 618c278f63dd630aa35d371901775d36ea02a7b7 /games/bnetd | |
parent | 4c2e615020d80b0fc43e343a7df7f43c000668ab (diff) |
We put bnetd.conf on ${PREFIX}/etc/bnetd , not ${PREFIX}/bnetd/conf .
Notes
Notes:
svn path=/head/; revision=54845
Diffstat (limited to 'games/bnetd')
-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' |