Support SSHD_OPTS option
authorUlrich Dangel <uli@spamt.net>
Wed, 25 May 2011 10:36:40 +0000 (12:36 +0200)
committerUlrich Dangel <uli@spamt.net>
Wed, 25 May 2011 10:36:40 +0000 (12:36 +0200)
etc/init.d/ssh

index 30c3609..6fdc08d 100755 (executable)
@@ -82,7 +82,7 @@ check_privsep_dir() {
 
 check_config() {
     if [ ! -e /etc/ssh/sshd_not_to_be_run ]; then
-       /usr/sbin/sshd -t || exit 1
+       /usr/sbin/sshd $SSHD_OPTS -t || exit 1
     fi
 }