aboutsummaryrefslogtreecommitdiffstats
path: root/games/bnetd
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2002-02-18 14:52:27 +0800
committervanilla <vanilla@FreeBSD.org>2002-02-18 14:52:27 +0800
commit92f53a0b8617ad5cf3e07d8028bc40c9aaef11f6 (patch)
treeff09275c72f9ab04c0cddc3efe119488662fd555 /games/bnetd
parent7427a1b58800b24bb6cf9be8ffa2e54ef4a5dc72 (diff)
downloadfreebsd-ports-gnome-92f53a0b8617ad5cf3e07d8028bc40c9aaef11f6.tar.gz
freebsd-ports-gnome-92f53a0b8617ad5cf3e07d8028bc40c9aaef11f6.tar.zst
freebsd-ports-gnome-92f53a0b8617ad5cf3e07d8028bc40c9aaef11f6.zip
We put bnetd.conf on ${PREFIX}/etc/bnetd , not ${PREFIX}/bnetd/conf .
Diffstat (limited to 'games/bnetd')
-rw-r--r--games/bnetd/files/bnetd.sh3
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'