[PATCH] livenet: avoid spurious error message / wait_for_dev

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

If the user didn't request a livenet boot, don't print an error
and don't do wait_for_dev.

Signed-off-by: Will Woods <wwoods@xxxxxxxxxx>
 modules.d/90livenet/parse-livenet.sh |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/modules.d/90livenet/parse-livenet.sh b/modules.d/90livenet/parse-livenet.sh
index a255f41..39aa40c 100755
--- a/modules.d/90livenet/parse-livenet.sh
+++ b/modules.d/90livenet/parse-livenet.sh
@@ -15,10 +15,8 @@ if get_url_handler "$liveurl" >/dev/null; then
     root="livenet" # quiet complaints from init
-    info "livenet: no url handler for $liveurl"
+    wait_for_dev /dev/root
-wait_for_dev /dev/root
 for url in $(getargs updates= live.updates=); do
     [ -z "$netroot" ] && netroot=skip

To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Home]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [XFree86]

Add to Google Powered by Linux