aboutsummaryrefslogtreecommitdiffstats
path: root/main/alpine-conf/0001-setup-interfaces-replace-non-breaking-space-with-nor.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/alpine-conf/0001-setup-interfaces-replace-non-breaking-space-with-nor.patch')
-rw-r--r--main/alpine-conf/0001-setup-interfaces-replace-non-breaking-space-with-nor.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/main/alpine-conf/0001-setup-interfaces-replace-non-breaking-space-with-nor.patch b/main/alpine-conf/0001-setup-interfaces-replace-non-breaking-space-with-nor.patch
new file mode 100644
index 0000000000..d2438c20bf
--- /dev/null
+++ b/main/alpine-conf/0001-setup-interfaces-replace-non-breaking-space-with-nor.patch
@@ -0,0 +1,28 @@
+From d5c11ff64cb280ddd1bc8b57e34508e2fa1d3c5c Mon Sep 17 00:00:00 2001
+From: Natanael Copa <ncopa@alpinelinux.org>
+Date: Wed, 6 May 2015 22:13:12 +0200
+Subject: [PATCH] setup-interfaces: replace non-breaking space with normal
+ space
+
+Non-breaking space (0xc2 0xa0) was added by mistake. Replace it with a
+normal space.
+---
+ setup-interfaces.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup-interfaces.in b/setup-interfaces.in
+index 1bf0713..c62cd30 100644
+--- a/setup-interfaces.in
++++ b/setup-interfaces.in
+@@ -400,7 +400,7 @@ prompt_for_interfaces() {
+ index=$(( $index + 1 ))
+ done
+
+- if [ "$(openrc --sys)" != "LXC" ] || ! ip addr show lo | grep -q 'inet.*127\.0'; then
++ if [ "$(openrc --sys)" != "LXC" ] || ! ip addr show lo | grep -q 'inet.*127\.0'; then
+ echo "type=loopback" > 000~lo.conf
+ echo "" > interface
+ fi
+--
+2.4.0
+