fix live crash with livenet installed

parse-livenet.sh shouldn't mess with $root unless it finds a valid URL.
master
Will Woods 2011-08-15 11:10:59 -04:00 committed by Harald Hoyer
parent 566dab2ac1
commit fb216d1a7c
1 changed files with 1 additions and 1 deletions

View File

@ -12,8 +12,8 @@ liveurl="${liveurl#live:}"
case "$liveurl" in
http://*|https://*|ftp://*)
netroot="livenet:$liveurl"
root="livenet" # quiet complaints from init
rootok=1 ;;
esac

root="livenet" # quiet complaints from init
echo '[ -e /dev/root ]' > $hookdir/initqueue/finished/livenet.sh