view debian/dropbear.postrm @ 118:5312ca05ed48 private-rez

propagate of 717950f4061f1123659ee87c7c168805af920ab7 and 839f98f136788cc1466e4641bf796f96040a085d from branch 'matt.dbclient.authpam' to 'matt.dbclient.rez'
author Matt Johnston <matt@ucc.asn.au>
date Sun, 12 Sep 2004 04:56:50 +0000
parents b0316ce64e4b
children
line wrap: on
line source

#! /bin/sh
set -e

test "$1" = 'purge' || exit 0
if test -e /etc/dropbear; then
  rm -f /etc/dropbear/dropbear_rsa_host_key
  rm -f /etc/dropbear/dropbear_dss_host_key
  rmdir --ignore-fail-on-non-empty /etc/dropbear
fi
update-rc.d dropbear remove >/dev/null
rm -f /etc/default/dropbear
rm -rf /etc/dropbear/supervise /etc/dropbear/log/supervise