summaryrefslogtreecommitdiff
path: root/debian/postrm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/postrm')
-rw-r--r--debian/postrm16
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
3if [ "$1" = "purge" ]
4then
5 rm -rf /etc/ssh
6fi
7
8if [ "$1" = "purge" ] ; then
9 update-rc.d ssh remove >/dev/null
10fi
11
12if [ "$1" = "purge" ] ; then
13 deluser --quiet sshd > /dev/null || true
14fi
15
16#DEBHELPER#