Fix: PATCH: Round 3: RH initscripts backward compatibility

Jim Knoble jmknoble at jmknoble.cx
Tue Feb 20 08:39:25 EST 2001


Circa 2001-Feb-19 10:26:17 -0600 dixit Mate Wierdl:

: On Sun, Feb 18, 2001 at 03:26:03AM -0500, Jim Knoble wrote:
: > +if [ -f /etc/init.d/sshd-functions ]; then
: > +	. /etc/init.d/functions
: > +else
: > +	. /etc/rc.d/init.d/functions
: > +fi
: 
: So you check for the existence of sshd-functions, but you source
: functions? (I have not seen the whole init file just this patch, so
: maybe this is correct)

Urp---cut-n-paste error.  Good eyes, Mate.  Fix (against Round 3 patch)
is attached (and yes, it's really attached---i just checked:).

-- 
jim knoble | jmknoble at jmknoble.cx | http://www.jmknoble.cx/
-------------- next part --------------
--- ./openssh-SNAP-20010219/contrib/redhat/sshd.init.orig-fixinit	Mon Feb 19 05:40:17 2001
+++ ./openssh-SNAP-20010219/contrib/redhat/sshd.init	Mon Feb 19 16:36:29 2001
@@ -15,7 +15,7 @@
 # source function library
 # If the file exists, but is not readable, it's an error.
 # Likewise, if the fallback file doesn't exist, it's an error.
-if [ -f /etc/init.d/sshd-functions ]; then
+if [ -f /etc/init.d/functions ]; then
 	. /etc/init.d/functions
 else
 	. /etc/rc.d/init.d/functions


More information about the openssh-unix-dev mailing list