dracut/0008-remove-prints.patch

38 lines
1.4 KiB
Diff
Raw Normal View History

From a0545765e8cec749e59a664ef09944786132327b Mon Sep 17 00:00:00 2001
From: pallotron <pallotron@fb.com>
Date: Wed, 5 Apr 2017 00:16:16 -0700
Subject: [PATCH] remove prints
---
modules.d/40network/net-lib.sh | 3 ---
1 file changed, 3 deletions(-)
diff --git a/modules.d/40network/net-lib.sh b/modules.d/40network/net-lib.sh
index e0f761f3..fea45be2 100755
--- a/modules.d/40network/net-lib.sh
+++ b/modules.d/40network/net-lib.sh
@@ -653,7 +653,6 @@ wait_for_ipv6_dad_link() {
timeout=$(($timeout*10))
while [ $cnt -lt $timeout ]; do
- echo "wait_for_ipv6_dad_link..." 1>&2
[ -z "$(ip -6 addr show dev "$1" scope link tentative)" ] \
&& [ -n "$(ip -6 route list proto ra dev "$1" | grep default)" ] \
&& return 0
@@ -672,7 +671,6 @@ wait_for_ipv6_dad() {
timeout=$(($timeout*10))
while [ $cnt -lt $timeout ]; do
- echo "wait_for_ipv6_dad..." 1>&2
[ -z "$(ip -6 addr show dev "$1" tentative)" ] \
&& [ -n "$(ip -6 route list proto ra dev "$1" | grep default)" ] \
&& return 0
@@ -691,7 +689,6 @@ wait_for_ipv6_auto() {
timeout=$(($timeout*10))
while [ $cnt -lt $timeout ]; do
- echo "wait_for_ipv6_auto..." 1>&2
[ -z "$(ip -6 addr show dev "$1" tentative)" ] \
&& [ -n "$(ip -6 route list proto ra dev "$1" | grep default)" ] \
&& return 0