From e33aa2fa96d7ef155286e81d41c5888968e2b72d Mon Sep 17 00:00:00 2001 From: wimpunk Date: Wed, 15 Feb 2017 21:31:09 +0100 Subject: [PATCH] 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 --- get-ip-from-fritzbox => sample-get-ip-from-fritzbox | 8 ++++++++ 1 file changed, 8 insertions(+) rename get-ip-from-fritzbox => sample-get-ip-from-fritzbox (82%) mode change 100644 => 100755 diff --git a/get-ip-from-fritzbox b/sample-get-ip-from-fritzbox old mode 100644 new mode 100755 similarity index 82% rename from get-ip-from-fritzbox rename to sample-get-ip-from-fritzbox index ce82540..87b986e --- a/get-ip-from-fritzbox +++ b/sample-get-ip-from-fritzbox @@ -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