From 2e574ee6e5d467c87dd0b310187420e59e4d2016 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Tue, 2 Sep 2003 22:21:07 +0000 Subject: Don't run 'sshd -t' in init script if the server isn't to be run (#197576). --- debian/init | 2 ++ 1 file changed, 2 insertions(+) (limited to 'debian/init') diff --git a/debian/init b/debian/init index 0eddf722e..641b9eff5 100644 --- a/debian/init +++ b/debian/init @@ -27,7 +27,9 @@ check_privsep_dir() { } check_config() { + if [ ! -e /etc/ssh/sshd_not_to_be_run ]; then /usr/sbin/sshd -t || exit 1 + fi } export PATH="${PATH:+$PATH:}/usr/sbin:/sbin" -- cgit v1.2.3