blob: ea209f71256e493a99f54cc1911ef9120601e198 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/sh
set -e
if [ "$1" = purge ]; then
remove-shell /bin/loginpr
if ! deluser --quiet --system login > /dev/null; then
echo "
Removing the user 'login' failed, most likely because the user is still
logged in. To remove the user and group terminate the session in question
and execute
deluser --quiet --system login
delgroup --quiet --system login
"
else
delgroup --quiet --system login > /dev/null || true
fi
fi
#DEBHELPER#
|