File: dropbear-initramfs.postrm

package info (click to toggle)
dropbear 2025.89-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,580 kB
  • sloc: ansic: 108,210; sh: 4,765; perl: 774; python: 763; makefile: 715; java: 177
file content (17 lines) | stat: -rw-r--r-- 552 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/sh
set -e

if [ "$1" = "purge" ]; then
    rm -f /etc/dropbear/initramfs/dropbear_dss_host_key \
          /etc/dropbear/initramfs/dropbear_rsa_host_key \
          /etc/dropbear/initramfs/dropbear_ecdsa_host_key \
          /etc/dropbear/initramfs/dropbear_ed25519_host_key \
          /etc/dropbear/initramfs/authorized_keys \
          /etc/dropbear/initramfs/id_dsa.pub \
          /etc/dropbear/initramfs/id_rsa.pub \
          /etc/dropbear/initramfs/id_ecdsa.pub \
          /etc/dropbear/initramfs/id_ed25519.pub
fi

#DEBHELPER#
exit 0