summaryrefslogtreecommitdiff
path: root/debian/openssh-server.config
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2013-05-21 23:54:28 +0100
committerColin Watson <cjwatson@debian.org>2013-05-21 23:54:28 +0100
commit22307bfaab741af870b040c5704233a08f26a013 (patch)
tree5b5a882a9a473e45288300707d486c5ff56a6784 /debian/openssh-server.config
parent1fa04ebf122aec5ecbbdb6c7e001665b238e4c62 (diff)
Remove ssh/use_old_init_script, which was a workaround for a very old
bug in /etc/init.d/ssh. If anyone has ignored this for >10 years then they aren't going to be convinced now.
Diffstat (limited to 'debian/openssh-server.config')
-rw-r--r--debian/openssh-server.config13
1 files changed, 0 insertions, 13 deletions
diff --git a/debian/openssh-server.config b/debian/openssh-server.config
index 2a01aa806..4cd14a753 100644
--- a/debian/openssh-server.config
+++ b/debian/openssh-server.config
@@ -19,19 +19,6 @@ get_config_option() {
19} 19}
20 20
21 21
22if [ -e /etc/init.d/ssh ] && ! grep -q pidfile /etc/init.d/ssh
23then
24 db_fset ssh/use_old_init_script seen false
25 db_input medium ssh/use_old_init_script || true
26 db_go
27
28 db_get ssh/use_old_init_script
29 [ "$RET" = "false" ] && exit 0
30else
31 db_set ssh/use_old_init_script true
32 db_fset ssh/use_old_init_script seen true
33fi
34
35if [ -e /etc/ssh/sshd_config ] 22if [ -e /etc/ssh/sshd_config ]
36then 23then
37 # An empty version means we're upgrading from before the package split, 24 # An empty version means we're upgrading from before the package split,