summaryrefslogtreecommitdiff
path: root/net/oidentd
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2004-04-12 14:18:15 +0000
committertron <tron@pkgsrc.org>2004-04-12 14:18:15 +0000
commitbbd9d3477524fd5d5ae1fd76ee6e12ced515f64b (patch)
treebded97bde95fa1329431514b4fdc1e93d89103bb /net/oidentd
parent9facc25600db3fc002f6067902f75ff6a104bfbd (diff)
downloadpkgsrc-bbd9d3477524fd5d5ae1fd76ee6e12ced515f64b.tar.gz
Fix startup script so that it really works on system which don't use
NetBSD's "/etc/rc.d" framework. Bump package revision because of this.
Diffstat (limited to 'net/oidentd')
-rw-r--r--net/oidentd/Makefile3
-rw-r--r--net/oidentd/files/oidentd.sh8
2 files changed, 5 insertions, 6 deletions
diff --git a/net/oidentd/Makefile b/net/oidentd/Makefile
index 8cdf765e0ff..d42cbd9e890 100644
--- a/net/oidentd/Makefile
+++ b/net/oidentd/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2004/03/13 20:20:57 snj Exp $
+# $NetBSD: Makefile,v 1.3 2004/04/12 14:18:15 tron Exp $
DISTNAME= oidentd-2.0.7
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ojnk/}
diff --git a/net/oidentd/files/oidentd.sh b/net/oidentd/files/oidentd.sh
index e65f1c3199e..71d3a22b812 100644
--- a/net/oidentd/files/oidentd.sh
+++ b/net/oidentd/files/oidentd.sh
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: oidentd.sh,v 1.1.1.1 2004/01/03 23:21:45 tron Exp $
+# $NetBSD: oidentd.sh,v 1.2 2004/04/12 14:18:15 tron Exp $
#
# PROVIDE: oidentd
@@ -24,12 +24,10 @@ else # old NetBSD, Solaris, Linux, etc...
case $1 in
start)
- if [ -x ${command} -a -f ${conf_file} ] ; then
- eval ${command} && @ECHO@ -n " ${name}"
- fi
+ ${command}
;;
stop)
- ${stop_cmd}
+ pkill ${name}
;;
*)
@ECHO@ "Usage: $0 {start|stop}" 1>&2