2002-06-25 09:32:29 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
if [ "$2" != "POST-DEINSTALL" ]; then
|
|
|
|
exit 0
|
|
|
|
fi
|
|
|
|
|
|
|
|
PW=/usr/sbin/pw
|
|
|
|
ECHO=echo
|
|
|
|
USER=noip
|
|
|
|
GROUP=${USER}
|
2004-01-09 22:23:50 +00:00
|
|
|
if [ -f ${PKG_PREFIX}/etc/no-ip2.conf ]; then
|
|
|
|
${ECHO} "To delete noip configuration permanently: rm ${PKG_PREFIX}/etc/no-ip2.conf"
|
2002-06-25 09:32:29 +00:00
|
|
|
fi
|
|
|
|
if ${PW} usershow "${USER}" 2>/dev/null 1>&2; then
|
|
|
|
${ECHO} "To delete noip user permanently: ${PW} userdel ${USER}"
|
|
|
|
fi
|
|
|
|
if ${PW} groupshow "${GROUP}" 2>/dev/null 1>&2; then
|
|
|
|
${ECHO} "To delete noip group permanently: ${PW} groupdel ${GROUP}"
|
|
|
|
fi
|
|
|
|
exit 0
|