summaryrefslogtreecommitdiff
path: root/debian/config
diff options
context:
space:
mode:
Diffstat (limited to 'debian/config')
-rw-r--r--debian/config8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/config b/debian/config
index b794276fa..7b4f85b43 100644
--- a/debian/config
+++ b/debian/config
@@ -52,6 +52,14 @@ fi
52 52
53db_input medium ssh/SUID_client || true 53db_input medium ssh/SUID_client || true
54 54
55# To be correct during initial installation, this relies on the desired
56# default for run_sshd being "true".
57if [ -e /etc/ssh/sshd_not_to_be_run ]
58then
59 db_set ssh/run_sshd false
60else
61 db_set ssh/run_sshd true
62fi
55db_input medium ssh/run_sshd || true 63db_input medium ssh/run_sshd || true
56 64
57if [ -x /usr/sbin/in.telnetd ] && grep -q "^telnet\b" /etc/inetd.conf 65if [ -x /usr/sbin/in.telnetd ] && grep -q "^telnet\b" /etc/inetd.conf