diff options
Diffstat (limited to 'debian/config')
-rw-r--r-- | debian/config | 8 |
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 | ||
53 | db_input medium ssh/SUID_client || true | 53 | db_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". | ||
57 | if [ -e /etc/ssh/sshd_not_to_be_run ] | ||
58 | then | ||
59 | db_set ssh/run_sshd false | ||
60 | else | ||
61 | db_set ssh/run_sshd true | ||
62 | fi | ||
55 | db_input medium ssh/run_sshd || true | 63 | db_input medium ssh/run_sshd || true |
56 | 64 | ||
57 | if [ -x /usr/sbin/in.telnetd ] && grep -q "^telnet\b" /etc/inetd.conf | 65 | if [ -x /usr/sbin/in.telnetd ] && grep -q "^telnet\b" /etc/inetd.conf |