summaryrefslogtreecommitdiff
path: root/kernels/xe-guest-utilities/ip_address.patch
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-04-22 10:52:18 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-04-22 10:52:18 -0400
commit908d987dd1dcd4899f8f7f0878514c22ca8048b7 (patch)
tree29bf5986774207c3453044e1f370fb98d2431265 /kernels/xe-guest-utilities/ip_address.patch
parent308bfb446305a96dffce945b6c4fb82b10d1b91b (diff)
parent8351d69e64a40d68fa32cfeea227b6fcf7afe974 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'kernels/xe-guest-utilities/ip_address.patch')
-rw-r--r--kernels/xe-guest-utilities/ip_address.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/kernels/xe-guest-utilities/ip_address.patch b/kernels/xe-guest-utilities/ip_address.patch
deleted file mode 100644
index 1e589ef37..000000000
--- a/kernels/xe-guest-utilities/ip_address.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- src.orig/usr/sbin/xe-update-guest-attrs 2011-12-28 21:05:13.055346917 -0600
-+++ src/usr/sbin/xe-update-guest-attrs 2011-12-28 21:04:02.545354603 -0600
-@@ -151,9 +151,9 @@
- # 3: sit0: <NOARP> mtu 1480 qdisc noop
- # link/sit 0.0.0.0 brd 0.0.0.0
-
--#eval $(ip addr show | \
--# sed -n -e 's/^[[:digit:]]*: \([a-z0-9]*\): .*/ifs="\$ifs \1"; current="\1"; /gp;' \
--# -e 's/^[[:space:]]\{4\}inet \('${IPADDR_RE}'\)\/.*/eval inet_\${current}="\1"; /gp;')
-+eval $(ip addr show | \
-+ sed -n -e 's/^[[:digit:]]*: \([a-z0-9]*\): .*/ifs="\$ifs \1"; current="\1"; /gp;' \
-+ -e 's/^[[:space:]]\{4\}inet \('${IPADDR_RE}'\)\/.*/eval inet_\${current}="\1"; /gp;')
-
- # e.g.
- # eth0 Link encap:Ethernet HWaddr 00:13:20:95:E8:74
-@@ -175,10 +175,10 @@
- # collisions:0 txqueuelen:0
- # RX bytes:3604609 (3.4 MiB) TX bytes:3604609 (3.4 MiB)
-
--eval $(/sbin/ifconfig | \
-- sed -n -e '/^[0-9a-z][0-9a-z]*\:/,/^$/d' \
-- -e 's/^\([0-9a-z][0-9a-z]*\) .*/ifs="\$ifs \1"; current="\1"; /gp;' \
-- -e 's/ *inet addr:\('$IPADDR_RE'\) .*/eval inet_\${current}="\1"; /gp;')
-+#eval $(/sbin/ifconfig | \
-+# sed -n -e '/^[0-9a-z][0-9a-z]*\:/,/^$/d' \
-+# -e 's/^\([0-9a-z][0-9a-z]*\) .*/ifs="\$ifs \1"; current="\1"; /gp;' \
-+# -e 's/ *inet addr:\('$IPADDR_RE'\) .*/eval inet_\${current}="\1"; /gp;')
-
- # network
- for if in $ifs ; do \ No newline at end of file