summaryrefslogtreecommitdiff
path: root/contrib/caldera/sshd.init
diff options
context:
space:
mode:
authorTim Rice <tim@multitalents.net>2001-11-03 11:09:32 -0800
committerTim Rice <tim@multitalents.net>2001-11-03 11:09:32 -0800
commite589a299a1c1cf26035cddf3996107500242ba1d (patch)
tree9023b8d5300eab10dde2718cd03db0f7620ac536 /contrib/caldera/sshd.init
parent14a5c99b5c84ab86b34baf4b9e8f454118164815 (diff)
[ contrib/caldera/openssh.spec contrib/caldera/sshd.init]
Updates from Raymund Will <ray@caldera.de> [acconfig.h configure.in] Clean up login checks. Problem reported by Jim Knoble <jmknoble@pobox.com>
Diffstat (limited to 'contrib/caldera/sshd.init')
-rwxr-xr-xcontrib/caldera/sshd.init4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/caldera/sshd.init b/contrib/caldera/sshd.init
index e60f8afeb..90b36379a 100755
--- a/contrib/caldera/sshd.init
+++ b/contrib/caldera/sshd.init
@@ -1,6 +1,6 @@
1#! /bin/bash 1#! /bin/bash
2# 2#
3# $Id: sshd.init,v 1.2 2001/04/27 05:50:50 tim Exp $ 3# $Id: sshd.init,v 1.3 2001/11/03 19:09:33 tim Exp $
4# 4#
5### BEGIN INIT INFO 5### BEGIN INIT INFO
6# Provides: 6# Provides:
@@ -37,7 +37,7 @@ _status() {
37 if [ ! -e $SVIlock ]; then 37 if [ ! -e $SVIlock ]; then
38 # no lock-file => not started == stopped? 38 # no lock-file => not started == stopped?
39 ret=3 39 ret=3
40 elif { [ -n "$pidf" ] && [ ! -f "$pidf" ] } || [ -z "$pid" ]; then 40 elif [ -n "$pidf" -a ! -f "$pidf" ] || [ -z "$pid" ]; then
41 # pid-file given but not present or no pid => died, but was not stopped 41 # pid-file given but not present or no pid => died, but was not stopped
42 ret=2 42 ret=2
43 elif [ -r /proc/$pid/cmdline ] && 43 elif [ -r /proc/$pid/cmdline ] &&