diff options
Diffstat (limited to 'debian/postrm')
-rw-r--r-- | debian/postrm | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/postrm b/debian/postrm new file mode 100644 index 000000000..bd0bbee38 --- /dev/null +++ b/debian/postrm | |||
@@ -0,0 +1,16 @@ | |||
1 | #!/bin/sh -e | ||
2 | |||
3 | if [ "$1" = "purge" ] | ||
4 | then | ||
5 | rm -rf /etc/ssh | ||
6 | fi | ||
7 | |||
8 | if [ "$1" = "purge" ] ; then | ||
9 | update-rc.d ssh remove >/dev/null | ||
10 | fi | ||
11 | |||
12 | if [ "$1" = "purge" ] ; then | ||
13 | deluser --quiet sshd > /dev/null || true | ||
14 | fi | ||
15 | |||
16 | #DEBHELPER# | ||