netroot: Use same method to check for already mounted root as init
authorPhilippe Seewer <philippe.seewer@bfh.ch>
Tue, 16 Jun 2009 09:35:49 +0000 (11:35 +0200)
committerPhilippe Seewer <philippe.seewer@bfh.ch>
Wed, 17 Jun 2009 06:37:39 +0000 (08:37 +0200)
commita55d10c05ca60746b1888c9a6e5a167bb108b223
tree15fb118aaccda60685739d70de1183f92fac2ce4
parent2734a87537d24756c60c4f39ff91df694a78352a
netroot: Use same method to check for already mounted root as init

base/init uses [ -d "$NEWROOT/proc" ] to check if root is mounted
or not. Netroot should do the same. In addition this gets rid of
another file in /tmp, since /tmp/netroot.done isn't needed anymore.
modules.d/40network/netroot