2005-11-30 04:39:17 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# remove symlinks in /etc/rc?.d
|
|
|
|
[ "$1" = "purge" ] && update-rc.d cryptobox remove
|
2005-12-01 19:22:05 +01:00
|
|
|
|
2006-05-15 11:41:00 +02:00
|
|
|
if test "$1" = "purge" && getent passwd cryptobox &>/dev/null \
|
|
|
|
&& test "$(cd ~cryptobox;pwd)" = /var/lib/cryptobox
|
|
|
|
then echo "Removing user 'cryptobox' ..."
|
|
|
|
userdel -r cryptobox
|
|
|
|
fi
|
2005-12-12 23:32:22 +01:00
|
|
|
|
2005-12-01 19:22:05 +01:00
|
|
|
# return without error
|
|
|
|
true
|