mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 10:57:01 +00:00
8e1ec24f55
--HG-- extra : convert_revision : 4c3428781bc8faf0fd7cadd7099fbd7f4ea386e7
13 lines
346 B
Bash
13 lines
346 B
Bash
#! /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
|