diff options
author | Colin Watson <cjwatson@debian.org> | 2013-05-21 23:54:28 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2013-05-21 23:54:28 +0100 |
commit | 22307bfaab741af870b040c5704233a08f26a013 (patch) | |
tree | 5b5a882a9a473e45288300707d486c5ff56a6784 /debian/openssh-server.config | |
parent | 1fa04ebf122aec5ecbbdb6c7e001665b238e4c62 (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.config | 13 |
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 | ||
22 | if [ -e /etc/init.d/ssh ] && ! grep -q pidfile /etc/init.d/ssh | ||
23 | then | ||
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 | ||
30 | else | ||
31 | db_set ssh/use_old_init_script true | ||
32 | db_fset ssh/use_old_init_script seen true | ||
33 | fi | ||
34 | |||
35 | if [ -e /etc/ssh/sshd_config ] | 22 | if [ -e /etc/ssh/sshd_config ] |
36 | then | 23 | then |
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, |