diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-06-25 09:32:29 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-06-25 09:32:29 +0000 |
commit | 8a9537498fdbdda01fd43ea78b9e06b0fad4dc59 (patch) | |
tree | 56495b6052563e0d630341bd602bdf282ecbaf19 /dns/noip/files/noip.sh | |
parent | 94b936855cab4fd544d1358141d83501c9af0d3d (diff) | |
download | FreeBSD-ports-8a9537498fdbdda01fd43ea78b9e06b0fad4dc59.zip FreeBSD-ports-8a9537498fdbdda01fd43ea78b9e06b0fad4dc59.tar.gz |
add noip 1.6
No-IP.com's dynamic DNS update client
PR: 36543
Submitted by: Eyal Soha <esoha@attbi.com>
Diffstat (limited to 'dns/noip/files/noip.sh')
-rw-r--r-- | dns/noip/files/noip.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/dns/noip/files/noip.sh b/dns/noip/files/noip.sh new file mode 100644 index 0000000..eca1af8 --- /dev/null +++ b/dns/noip/files/noip.sh @@ -0,0 +1,19 @@ +#!/bin/sh + +case "$1" in + start) + if [ -x %%PREFIX%%/bin/noip -a -f %%PREFIX%%/etc/no-ip.conf ]; then + echo -n ' noip'; + su -m noip -c '%%PREFIX%%/bin/noip' 2> /dev/null > /dev/null + fi + ;; + stop) + echo -n ' noip'; + killall noip + ;; + *) + echo "Usage: `basename $0` {start|stop}" >&2 + exit 1 + ;; +esac +exit 0 |