Adding sample-get-ip-from-fritzbox

Example config showing how to retrieve IP from fritzbox via UPnP
using ddclients cmd option.  The script has been provided by @Rusk85
in pull request #45
This commit is contained in:
wimpunk 2017-02-15 21:31:09 +01:00
parent 40409911b3
commit e33aa2fa96

8
get-ip-from-fritzbox → sample-get-ip-from-fritzbox Normal file → Executable file
View file

@ -1,4 +1,12 @@
#!/bin/bash
#
# Scirpt to fetch IP from fritzbox
#
# Contributed by @Rusk85 in request #45
# Script can be used in the configuration by adding
#
# use=cmd, cmd=/etc/ddclient/get-ip-from-fritzbox
#
# All credits for this one liner go to the author of this blog:
# http://scytale.name/blog/2010/01/fritzbox-wan-ip
# As the author explains its not required to tamper with the provided IP for the FritzBox