wok-next diff busybox/stuff/init @ rev 8108
Up: orage to 4.8.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Jan 23 13:04:44 2011 +0000 (2011-01-23) |
parents | 0751ee65c01f |
children | ed659050472b |
line diff
1.1 --- a/busybox/stuff/init Wed Jan 19 12:35:53 2011 +0000 1.2 +++ b/busybox/stuff/init Sun Jan 23 13:04:44 2011 +0000 1.3 @@ -52,14 +52,12 @@ 1.4 1.5 lvmsetup() 1.6 { 1.7 -if grep -q lvmroot= /proc/cmdline; then 1.8 + grep -q lvmroot= /proc/cmdline || return 1 1.9 modprobe dm-mod 1.10 vgscan --ignorelockingfailure 1.11 vgchange -ay --ignorelockingfailure 1.12 root="/dev/mapper/$(sed 's/.*lvmroot=\([^ ]*\).*/\1/' < /proc/cmdline)" 1.13 return 0 1.14 -fi 1.15 -return 1 1.16 } 1.17 1.18 load_raid()