summaryrefslogtreecommitdiffstats
path: root/dropbear.pkg/prerm
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-10-18 16:41:41 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-10-18 16:41:41 (EDT)
commitf66a7df47bef6f915db3f912c76c163c27f1f137 (patch)
tree011069a47fde7242f9df170627adb0a293167f90 /dropbear.pkg/prerm
parentb63cf158faf1309eb05028dc705ebf2fef6d6873 (diff)
Add maintainer scripts
Diffstat (limited to 'dropbear.pkg/prerm')
-rw-r--r--dropbear.pkg/prerm6
1 files changed, 6 insertions, 0 deletions
diff --git a/dropbear.pkg/prerm b/dropbear.pkg/prerm
new file mode 100644
index 0000000..05fca4c
--- /dev/null
+++ b/dropbear.pkg/prerm
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+if [ "x${1}" = 'xremove' ]; then
+ /etc/init.d/dropbear stop
+ /etc/init.d/dropbear disable
+fi