diff options
author | tron <tron@pkgsrc.org> | 2004-04-12 14:18:15 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2004-04-12 14:18:15 +0000 |
commit | 46157f07fb42c6961d0c34812b138f70f1b4d0c5 (patch) | |
tree | bded97bde95fa1329431514b4fdc1e93d89103bb /net/oidentd/files | |
parent | 4baab33eba3a272e4565ed8d8f75b45b06816d01 (diff) | |
download | pkgsrc-46157f07fb42c6961d0c34812b138f70f1b4d0c5.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/files')
-rw-r--r-- | net/oidentd/files/oidentd.sh | 8 |
1 files changed, 3 insertions, 5 deletions
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 |