fix live crash with livenet installed
parse-livenet.sh shouldn't mess with $root unless it finds a valid URL.master
parent
566dab2ac1
commit
fb216d1a7c
|
|
@ -12,8 +12,8 @@ liveurl="${liveurl#live:}"
|
||||||
case "$liveurl" in
|
case "$liveurl" in
|
||||||
http://*|https://*|ftp://*)
|
http://*|https://*|ftp://*)
|
||||||
netroot="livenet:$liveurl"
|
netroot="livenet:$liveurl"
|
||||||
|
root="livenet" # quiet complaints from init
|
||||||
rootok=1 ;;
|
rootok=1 ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
root="livenet" # quiet complaints from init
|
|
||||||
echo '[ -e /dev/root ]' > $hookdir/initqueue/finished/livenet.sh
|
echo '[ -e /dev/root ]' > $hookdir/initqueue/finished/livenet.sh
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue