Mercurial > dropbear
view debian/dropbear.postrm @ 559:7f66b8e40f2d agent-client
propagate from branch 'au.asn.ucc.matt.dropbear' (head bbe4e11695a7b22bd89a722600eb4a4020b6fdf3)
to branch 'au.asn.ucc.matt.dropbear.cli-agent' (head 276cf5e82276b6c879d246ba64739ec6868f5150)
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 29 Jul 2009 02:58:33 +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