pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/oidentd Fix startup script so that it really works...
details: https://anonhg.NetBSD.org/pkgsrc/rev/32d4fe991aba
branches: trunk
changeset: 472795:32d4fe991aba
user: tron <tron%pkgsrc.org@localhost>
date: Mon Apr 12 14:18:15 2004 +0000
description:
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:
net/oidentd/Makefile | 3 ++-
net/oidentd/files/oidentd.sh | 8 +++-----
2 files changed, 5 insertions(+), 6 deletions(-)
diffs (38 lines):
diff -r 7afc6475d8cd -r 32d4fe991aba net/oidentd/Makefile
--- a/net/oidentd/Makefile Mon Apr 12 14:07:16 2004 +0000
+++ b/net/oidentd/Makefile Mon Apr 12 14:18:15 2004 +0000
@@ -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 -r 7afc6475d8cd -r 32d4fe991aba net/oidentd/files/oidentd.sh
--- a/net/oidentd/files/oidentd.sh Mon Apr 12 14:07:16 2004 +0000
+++ b/net/oidentd/files/oidentd.sh Mon Apr 12 14:18:15 2004 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index