aboutsummaryrefslogtreecommitdiffstats
path: root/main/alpine-conf/0001-setup-interfaces-replace-non-breaking-space-with-nor.patch
blob: d2438c20bfb7e32c30e6a0e14f86442fe8acdb24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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