wok-current diff busybox/stuff/init @ rev 7407
Add libsdl-gfx to libsdl-gfx-dev depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Nov 27 18:20:15 2010 +0000 (2010-11-27) |
parents | 3f326721653c |
children | 0b7c86ee9c76 |
line diff
1.1 --- a/busybox/stuff/init Fri Aug 13 22:40:04 2010 +0200 1.2 +++ b/busybox/stuff/init Sat Nov 27 18:20:15 2010 +0000 1.3 @@ -90,6 +90,8 @@ 1.4 root="$(sed 's/.*softraid=\([^ ]*\).*/\1/' < /proc/cmdline)" 1.5 echo -n "Switching / to softraid $root..." 1.6 mdadm --examine --scan --config=partitions > /etc/mdadm.conf 1.7 + grep -qs " $root " /etc/mdadm.conf || 1.8 + root=$(awk '/dev.md/ { print $2; exit }' < /etc/mdadm.conf) 1.9 grep level=raid /etc/mdadm.conf | load_raid 1.10 mdadm --assemble --scan 1.11 lvmsetup