diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-06-25 17:32:29 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-06-25 17:32:29 +0800 |
commit | 8a9537498fdbdda01fd43ea78b9e06b0fad4dc59 (patch) | |
tree | 56495b6052563e0d630341bd602bdf282ecbaf19 /net/noip/pkg-deinstall | |
parent | 94b936855cab4fd544d1358141d83501c9af0d3d (diff) | |
download | freebsd-ports-graphics-8a9537498fdbdda01fd43ea78b9e06b0fad4dc59.tar.gz freebsd-ports-graphics-8a9537498fdbdda01fd43ea78b9e06b0fad4dc59.tar.zst freebsd-ports-graphics-8a9537498fdbdda01fd43ea78b9e06b0fad4dc59.zip |
add noip 1.6
No-IP.com's dynamic DNS update client
PR: 36543
Submitted by: Eyal Soha <esoha@attbi.com>
Diffstat (limited to 'net/noip/pkg-deinstall')
-rw-r--r-- | net/noip/pkg-deinstall | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/net/noip/pkg-deinstall b/net/noip/pkg-deinstall new file mode 100644 index 00000000000..93a3036c7d4 --- /dev/null +++ b/net/noip/pkg-deinstall @@ -0,0 +1,21 @@ +#!/bin/sh + +if [ "$2" != "POST-DEINSTALL" ]; then + exit 0 +fi + +PW=/usr/sbin/pw +ECHO=echo +USER=noip +GROUP=${USER} + +if [ -f ${PKG_PREFIX}/etc/no-ip.conf ]; then + ${ECHO} "To delete noip configuration permanently: rm ${PKG_PREFIX}/etc/no-ip.conf" +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 |