aboutsummaryrefslogtreecommitdiffstats
path: root/net/repeater
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2006-02-22 00:07:07 +0800
committerleeym <leeym@FreeBSD.org>2006-02-22 00:07:07 +0800
commit28e553f8105336e05bdb170e40e472c9c0c74f65 (patch)
tree81ab1017819227797fe6ae99c96cfaa801fa2f96 /net/repeater
parent4b4d3b967dc9bbe2fdb5c9faa9b0ca882aefb6f3 (diff)
downloadfreebsd-ports-gnome-28e553f8105336e05bdb170e40e472c9c0c74f65.tar.gz
freebsd-ports-gnome-28e553f8105336e05bdb170e40e472c9c0c74f65.tar.zst
freebsd-ports-gnome-28e553f8105336e05bdb170e40e472c9c0c74f65.zip
- fix procname problem in start script
Diffstat (limited to 'net/repeater')
-rw-r--r--net/repeater/Makefile2
-rw-r--r--net/repeater/files/repeater.sh3
2 files changed, 2 insertions, 3 deletions
diff --git a/net/repeater/Makefile b/net/repeater/Makefile
index cfeeefa5b2f2..c4db877f3c69 100644
--- a/net/repeater/Makefile
+++ b/net/repeater/Makefile
@@ -7,7 +7,7 @@
PORTNAME= repeater
PORTVERSION= 0.08
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= http://koti.mbnet.fi/jtko/uvncrepeater/
DISTNAME= repeater${PORTVERSION:C/\.//}
diff --git a/net/repeater/files/repeater.sh b/net/repeater/files/repeater.sh
index 0006f81ae025..5d8c098150a3 100644
--- a/net/repeater/files/repeater.sh
+++ b/net/repeater/files/repeater.sh
@@ -23,8 +23,7 @@ repeater_server_port=${repeater_server_port:-5500}
repeater_viewer_port=${repeater_viewer_port:-5900}
repeater_log=${repeater_log:-"/var/run/repeater.log"}
command=/usr/local/sbin/repeater
-procname=repeater
-start_precmd="echo Starting ${procname}."
+start_precmd="echo Starting ${name}."
start_cmd="daemon ${command} ${repeater_viewer_port} ${repeater_server_port} > ${repeater_log} 2>&1"
run_rc_command "$1"