HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-172-31-27-128 6.8.0-1033-aws #35~22.04.1-Ubuntu SMP Wed Jul 23 17:51:00 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.22
Disabled: NONE
Upload Files
File: //usr/share/initramfs-tools/scripts/local-bottom/cryptgnupg-sc
#!/bin/sh

PREREQ=""

prereqs() {
    echo "$PREREQ"
}

case $1 in
    prereqs)
        prereqs
        exit 0
        ;;
esac

if [ -x /usr/bin/gpgconf ] && [ -d "/cryptroot/gnupghome" ]; then
    gpgconf --homedir="/cryptroot/gnupghome" --kill all
fi