- (bal) Add /etc/sysconfig/sshd support to redhat's sshd.init. Patch by
Pekka Savola <pekkas@netcore.fi>
This commit is contained in:
parent
e39867df6d
commit
26f33893a6
|
@ -5,6 +5,8 @@
|
||||||
Carson Gaspar <carson@taltos.org>
|
Carson Gaspar <carson@taltos.org>
|
||||||
- (bal) arpa/nameser.h does not exist on Cygwin. Patch by Corinna
|
- (bal) arpa/nameser.h does not exist on Cygwin. Patch by Corinna
|
||||||
Vinschen <vinschen@redhat.com>
|
Vinschen <vinschen@redhat.com>
|
||||||
|
- (bal) Add /etc/sysconfig/sshd support to redhat's sshd.init. Patch by
|
||||||
|
Pekka Savola <pekkas@netcore.fi>
|
||||||
|
|
||||||
20010425
|
20010425
|
||||||
- OpenBSD CVS Sync
|
- OpenBSD CVS Sync
|
||||||
|
@ -5260,4 +5262,4 @@
|
||||||
- Wrote replacements for strlcpy and mkdtemp
|
- Wrote replacements for strlcpy and mkdtemp
|
||||||
- Released 1.0pre1
|
- Released 1.0pre1
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.1174 2001/04/27 00:34:44 mouring Exp $
|
$Id: ChangeLog,v 1.1175 2001/04/27 00:46:17 mouring Exp $
|
||||||
|
|
|
@ -15,6 +15,8 @@
|
||||||
# source function library
|
# source function library
|
||||||
. /etc/rc.d/init.d/functions
|
. /etc/rc.d/init.d/functions
|
||||||
|
|
||||||
|
[ -f /etc/sysconfig/sshd ] && . /etc/sysconfig/sshd
|
||||||
|
|
||||||
RETVAL=0
|
RETVAL=0
|
||||||
|
|
||||||
# Some functions to make the below more readable
|
# Some functions to make the below more readable
|
||||||
|
@ -104,7 +106,7 @@ case "$1" in
|
||||||
|
|
||||||
echo -n "Starting sshd: "
|
echo -n "Starting sshd: "
|
||||||
if [ ! -f $PID_FILE ] ; then
|
if [ ! -f $PID_FILE ] ; then
|
||||||
sshd
|
sshd $OPTIONS
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
if [ "$RETVAL" = "0" ] ; then
|
if [ "$RETVAL" = "0" ] ; then
|
||||||
my_success "sshd startup" "sshd"
|
my_success "sshd startup" "sshd"
|
||||||
|
|
Loading…
Reference in New Issue