🏡 index : quine-global-labs/mirror-cockpit-project-cockpit.git

#!/bin/sh
set -e

#DEBHELPER#

# clean up dynamic motd/issue symlinks on removal
if [ "$1" = purge ]; then
    [ -L /etc/motd.d/cockpit ] && rm /etc/motd.d/cockpit || true
    [ -L /etc/issue.d/cockpit.issue ] && rm /etc/issue.d/cockpit.issue || true
    rm -f /etc/cockpit/disallowed-users
fi