blob: 8267b0d55ca10b9208fe0af6409dcdaeb1155f1e (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/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
|