Blame 0003-fix-live-crash-with-livenet-installed.patch
|
Harald Hoyer |
992688 |
From fb216d1a7cc981a50e4cae9179a88406663dda4e Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
992688 |
From: Will Woods <wwoods@redhat.com>
|
|
Harald Hoyer |
992688 |
Date: Mon, 15 Aug 2011 11:10:59 -0400
|
|
Harald Hoyer |
992688 |
Subject: [PATCH] fix live crash with livenet installed
|
|
Harald Hoyer |
992688 |
|
|
Harald Hoyer |
992688 |
parse-livenet.sh shouldn't mess with $root unless it finds a valid URL.
|
|
Harald Hoyer |
992688 |
---
|
|
Harald Hoyer |
992688 |
modules.d/90livenet/parse-livenet.sh | 2 +-
|
|
Harald Hoyer |
992688 |
1 files changed, 1 insertions(+), 1 deletions(-)
|
|
Harald Hoyer |
992688 |
|
|
Harald Hoyer |
992688 |
diff --git a/modules.d/90livenet/parse-livenet.sh b/modules.d/90livenet/parse-livenet.sh
|
|
Harald Hoyer |
992688 |
index 78fc906..323fd4a 100755
|
|
Harald Hoyer |
992688 |
--- a/modules.d/90livenet/parse-livenet.sh
|
|
Harald Hoyer |
992688 |
+++ b/modules.d/90livenet/parse-livenet.sh
|
|
Harald Hoyer |
992688 |
@@ -12,8 +12,8 @@ liveurl="${liveurl#live:}"
|
|
Harald Hoyer |
992688 |
case "$liveurl" in
|
|
Harald Hoyer |
992688 |
http://*|https://*|ftp://*)
|
|
Harald Hoyer |
992688 |
netroot="livenet:$liveurl"
|
|
Harald Hoyer |
992688 |
+ root="livenet" # quiet complaints from init
|
|
Harald Hoyer |
992688 |
rootok=1 ;;
|
|
Harald Hoyer |
992688 |
esac
|
|
Harald Hoyer |
992688 |
|
|
Harald Hoyer |
992688 |
-root="livenet" # quiet complaints from init
|
|
Harald Hoyer |
992688 |
echo '[ -e /dev/root ]' > $hookdir/initqueue/finished/livenet.sh
|