diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2002-12-05 20:43:14 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2002-12-05 20:43:14 +0000 |
commit | cfbbc384930913793cefbe0ce50fa83fd4efa2b8 (patch) | |
tree | 8fd441b5dfc3081ef75ed62b9a7aa2c60636335c /dns/maradns | |
parent | - Fix build on CURRENT (diff) |
Fix shell syntax error.
Approved by: portmgr (kris)
Notes
Notes:
svn path=/head/; revision=71385
Diffstat (limited to 'dns/maradns')
-rw-r--r-- | dns/maradns/Makefile | 1 | ||||
-rw-r--r-- | dns/maradns/files/maradns.sh.sample | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/dns/maradns/Makefile b/dns/maradns/Makefile index 2ec580d6c2e8..a56ea501f599 100644 --- a/dns/maradns/Makefile +++ b/dns/maradns/Makefile @@ -7,6 +7,7 @@ PORTNAME= maradns PORTVERSION= 1.0.09 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://www.maradns.org/download/ \ http://maradns.glou.net/download/ \ diff --git a/dns/maradns/files/maradns.sh.sample b/dns/maradns/files/maradns.sh.sample index f7ef9a47d951..5c640294479c 100644 --- a/dns/maradns/files/maradns.sh.sample +++ b/dns/maradns/files/maradns.sh.sample @@ -7,7 +7,10 @@ fi case "$1" in start) - [ -x ${PREFIX}/sbin/maradns ] && ${PREFIX}/sbin/maradns > /var/log/maradns.log & && echo -n ' maradns' + if [ -x ${PREFIX}/sbin/maradns ]; then + ${PREFIX}/sbin/maradns > /var/log/maradns.log & + echo -n ' maradns' + fi; ;; stop) killall maradns && echo -n ' maradns' |