diff options
author | Colin Watson <cjwatson@debian.org> | 2004-08-02 18:21:33 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2004-08-02 18:21:33 +0000 |
commit | 4d6e7c45fdc81bcc1076b68d7b10c1dfbfaaa5be (patch) | |
tree | d1bea708959f715dff283fb051ee18ab1e88dc93 /debian/openssh-server.postrm | |
parent | a3f9698ee0c6ef94d0de515bb915dd77372920eb (diff) |
Remove /etc/ssh/sshd_not_to_be_run on purge of openssh-server. For now
(until sarge+2) it's still honoured to avoid breaking existing
configurations, but the right approach is now to remove the openssh-server
package if you don't want to run the server. Add a NEWS item to that
effect.
Diffstat (limited to 'debian/openssh-server.postrm')
-rw-r--r-- | debian/openssh-server.postrm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/openssh-server.postrm b/debian/openssh-server.postrm index 862c51520..e7a437260 100644 --- a/debian/openssh-server.postrm +++ b/debian/openssh-server.postrm | |||
@@ -12,6 +12,7 @@ then | |||
12 | rm -f /etc/ssh/ssh_host_rsa_key /etc/ssh/ssh_host_rsa_key.pub | 12 | rm -f /etc/ssh/ssh_host_rsa_key /etc/ssh/ssh_host_rsa_key.pub |
13 | rm -f /etc/ssh/ssh_host_dsa_key /etc/ssh/ssh_host_dsa_key.pub | 13 | rm -f /etc/ssh/ssh_host_dsa_key /etc/ssh/ssh_host_dsa_key.pub |
14 | rm -f /etc/ssh/sshd_config | 14 | rm -f /etc/ssh/sshd_config |
15 | rm -f /etc/ssh/sshd_not_to_be_run | ||
15 | rmdir --ignore-fail-on-non-empty /etc/ssh | 16 | rmdir --ignore-fail-on-non-empty /etc/ssh |
16 | fi | 17 | fi |
17 | 18 | ||