From 26f33893a60f712b3a6fb572cde6538bfe5ce394 Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Fri, 27 Apr 2001 00:46:17 +0000 Subject: - (bal) Add /etc/sysconfig/sshd support to redhat's sshd.init. Patch by Pekka Savola --- contrib/redhat/sshd.init | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'contrib/redhat/sshd.init') diff --git a/contrib/redhat/sshd.init b/contrib/redhat/sshd.init index c9c1c7bfe..efedbfb85 100755 --- a/contrib/redhat/sshd.init +++ b/contrib/redhat/sshd.init @@ -15,6 +15,8 @@ # source function library . /etc/rc.d/init.d/functions +[ -f /etc/sysconfig/sshd ] && . /etc/sysconfig/sshd + RETVAL=0 # Some functions to make the below more readable @@ -104,7 +106,7 @@ case "$1" in echo -n "Starting sshd: " if [ ! -f $PID_FILE ] ; then - sshd + sshd $OPTIONS RETVAL=$? if [ "$RETVAL" = "0" ] ; then my_success "sshd startup" "sshd" -- cgit v1.2.3