mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-31 01:35:11 +02:00
- Added condrestart to Redhat init script. Patch from Pekka Savola
<pekkas@netcore.fi> - Update version in Redhat spec file
This commit is contained in:
parent
cd57198b3e
commit
2b2cf52471
@ -26,7 +26,11 @@
|
|||||||
- markus@cvs.openbsd.org 2000/10/15 08:18:31
|
- markus@cvs.openbsd.org 2000/10/15 08:18:31
|
||||||
[rijndael.c]
|
[rijndael.c]
|
||||||
typo
|
typo
|
||||||
- Copy manpages back over from OpenBSD - too tedious to wade through diffs
|
- (djm) Copy manpages back over from OpenBSD - too tedious to wade
|
||||||
|
through diffs
|
||||||
|
- Added condrestart to Redhat init script. Patch from Pekka Savola
|
||||||
|
<pekkas@netcore.fi>
|
||||||
|
- Update version in Redhat spec file
|
||||||
|
|
||||||
20001015
|
20001015
|
||||||
- (djm) Fix ssh2 hang on background processes at logout.
|
- (djm) Fix ssh2 hang on background processes at logout.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Version of OpenSSH
|
# Version of OpenSSH
|
||||||
%define oversion 2.2.0p2
|
%define oversion 2.3.0p1
|
||||||
|
|
||||||
# Version of ssh-askpass
|
# Version of ssh-askpass
|
||||||
%define aversion 1.0.2
|
%define aversion 1.0.2
|
||||||
|
@ -81,12 +81,19 @@ case "$1" in
|
|||||||
$0 start
|
$0 start
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
;;
|
;;
|
||||||
|
condrestart)
|
||||||
|
if [ -f /var/lock/subsys/sshd ] ; then
|
||||||
|
$0 stop
|
||||||
|
$0 start
|
||||||
|
RETVAL=$?
|
||||||
|
fi
|
||||||
|
;;
|
||||||
status)
|
status)
|
||||||
status sshd
|
status sshd
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Usage: sshd {start|stop|restart|status}"
|
echo "Usage: sshd {start|stop|restart|status|condrestart}"
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user