aboutsummaryrefslogtreecommitdiffstats
path: root/dns/noip/files/patch-no-ip.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dns/noip/files/patch-no-ip.sh')
-rw-r--r--dns/noip/files/patch-no-ip.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/dns/noip/files/patch-no-ip.sh b/dns/noip/files/patch-no-ip.sh
new file mode 100644
index 00000000000..4d083a0ec7b
--- /dev/null
+++ b/dns/noip/files/patch-no-ip.sh
@@ -0,0 +1,16 @@
+--- no-ip.sh.orig Wed Oct 10 16:35:12 2001
++++ no-ip.sh Fri Mar 29 01:55:11 2002
+@@ -1,3 +1,4 @@
++#!/bin/sh
+ #
+ # configuration file builder script for no-ip
+ #
+@@ -89,7 +90,7 @@
+ #
+ if [ "$NAT" = "N" ]
+ then
+- devs=`tail +3 /proc/net/dev | awk -F: '{print $1}' | tr -d ' '|tr '\n' ' '`
++ devs=`ifconfig -l inet`
+ DEV=foo
+ while [ "$DEV" = "foo" ]
+ do