OpenSSH-1.12pre15: PATCH: packages/redhat/sshd.init
Damien Miller
djm at mindrot.org
Tue Dec 7 14:34:20 EST 1999
On Sun, 5 Dec 1999, Jim Knoble wrote:
> The ChangeLog indicates:
>
> 19991113
> [...]
> - Revised Redhat initscript to fix bug: sshd (re)start would fail
> if executed from inside a ssh login.
>
> Unfortunately, the changes made to the init script make it no longer
> work on a Red Hat Linux 4.x or 5.x system, which doesn't use the
> `success' or `failure' functions available in Red Hat Linux 6.x.
>
> The attached patch enables the script to work in either environment by
> checking for the existence of the `success' shell function.
Applied.
Thanks,
Damien Miller
--
| "Bombay is 250ms from New York in the new world order" - Alan Cox
| Damien Miller - http://www.mindrot.org/
| Email: djm at mindrot.org (home) -or- djm at ibs.com.au (work)
More information about the openssh-unix-dev
mailing list