#!/bin/shset -e#DEBHELPER## clean up dynamic motd/issue symlinks on removalif [ "$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 || truerm -f /etc/cockpit/disallowed-usersfi