make basefiles aware of procd

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36003
This commit is contained in:
John Crispin
2013-03-13 18:11:19 +00:00
parent 1360067c4a
commit f43b7934d2
38 changed files with 705 additions and 70 deletions

View File

@@ -38,7 +38,7 @@ supivot() { # <new_root> <old_root>
mkdir -p $1$2 $1/proc $1/sys $1/dev $1/tmp $1/overlay && \
mount -o noatime,move /proc $1/proc && \
pivot_root $1 $1$2 || {
umount $1 $1
umount -l $1 $1
return 1
}