wok-4.x rev 1705
busybox: keep /init for tazusb write during tmpfs root switching
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 14 09:24:33 2008 +0000 (2008-11-14) |
parents | 8c3c67c64f26 |
children | 68e403f01006 |
files | busybox/stuff/init |
line diff
1.1 --- a/busybox/stuff/init Fri Nov 14 08:49:36 2008 +0000 1.2 +++ b/busybox/stuff/init Fri Nov 14 09:24:33 2008 +0000 1.3 @@ -8,7 +8,7 @@ 1.4 mount -t tmpfs $size tmpfs /mnt 1.5 for i in $(ls -a /); do 1.6 case "$i" in 1.7 - .|..|init);; 1.8 + .|..) ;; 1.9 mnt) mkdir /mnt/mnt;; 1.10 *) if ! cp -a /$i /mnt 2> /dev/null; then 1.11 echo -e "\\033[70G[ \\033[1;31mFailed\\033[0;39m ]"