summaryrefslogtreecommitdiff
path: root/examples/ddns.py
diff options
context:
space:
mode:
authordv <wdv4758h@gmail.com>2015-03-02 20:49:33 +0800
committerdv <wdv4758h@gmail.com>2015-03-02 20:49:33 +0800
commitce3ebdcbb8e107073eb35e39cf22faf80c544770 (patch)
tree436e742a8092ddd9bfb1ece2b1b3f8b569a7a22b /examples/ddns.py
parent6d52fda5e2d887301e748ca9ac3e7dd6b5ffda25 (diff)
downloaddnspython-ce3ebdcbb8e107073eb35e39cf22faf80c544770.tar.gz
clean Tab
Diffstat (limited to 'examples/ddns.py')
-rwxr-xr-xexamples/ddns.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/ddns.py b/examples/ddns.py
index 84814b7..f351524 100755
--- a/examples/ddns.py
+++ b/examples/ddns.py
@@ -12,15 +12,15 @@
#
# E.g. on my systems I have this
#
-# #!/bin/sh
+# #!/bin/sh
#
-# DEVICE=$1
+# DEVICE=$1
#
-# if [ "X${DEVICE}" == "Xeth0" ]; then
-# IPADDR=`LANG= LC_ALL= ifconfig ${DEVICE} | grep 'inet addr' |
-# awk -F: '{ print $2 } ' | awk '{ print $1 }'`
-# /usr/local/sbin/ddns.py $IPADDR
-# fi
+# if [ "X${DEVICE}" == "Xeth0" ]; then
+# IPADDR=`LANG= LC_ALL= ifconfig ${DEVICE} | grep 'inet addr' |
+# awk -F: '{ print $2 } ' | awk '{ print $1 }'`
+# /usr/local/sbin/ddns.py $IPADDR
+# fi
#
# in /etc/ifup-local.
#