From: Eric Edgar Date: Mon, 21 Nov 2005 18:09:24 +0000 (+0000) Subject: fix for sys delete bug 109819 X-Git-Tag: v3.4.10.902~426 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=13e63be98899b7dd23968bd92a15ef2667f3df65;p=genkernel.git fix for sys delete bug 109819 git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@326 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- diff --git a/generic/linuxrc b/generic/linuxrc index e4a85ae..0d6550b 100644 --- a/generic/linuxrc +++ b/generic/linuxrc @@ -729,7 +729,7 @@ then done for j in `/bin/busybox find /$i 2>/dev/null` do - if /bin/busybox [ -d "${j}" -a "${j}" != "/bin" -a "${j}" != "/dev" ] + if /bin/busybox [ -d "${j}" -a "${j}" != "/bin" -a "${j}" != "/dev" -a "${j}" != "/sys" ] then /bin/busybox rm -r "$j" fi