wok-6.x diff busybox/stuff/init @ rev 6346
Up: gobby to 0.4.12. net6, net6-dev to 1.3.12.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Sep 19 22:01:57 2010 +0000 (2010-09-19) |
parents | 1e76f9aab153 |
children | a841d189e474 |
line diff
1.1 --- a/busybox/stuff/init Thu Aug 12 18:56:16 2010 +0200 1.2 +++ b/busybox/stuff/init Sun Sep 19 22:01:57 2010 +0000 1.3 @@ -34,7 +34,7 @@ 1.4 if [ -d /mnt/etc ]; then 1.5 umount /sys 1.6 [ -n "$1" ] && for i in $@ ; do 1.7 - cp -a $i /mnt$i 1.8 + cp -a $i /mnt$(dirname $i) 1.9 done 1.10 umount /proc 1.11 launch_init 1.12 @@ -64,7 +64,9 @@ 1.13 { 1.14 while read line; do 1.15 case "$line" in 1.16 - *raid1*) modprobe dm-mirror ;; 1.17 + *raid10*) modprobe raid10 ;; 1.18 + *raid0*) modprobe raid0 ;; 1.19 + *raid1*) modprobe raid1 ;; 1.20 *raid[456]*) modprobe raid456 ;; 1.21 esac 1.22 done