projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix ustl package for systems with /bin/install instead of /usr/bin/install
[openwrt.git]
/
openwrt
/
package
/
base-files
/
default
/
sbin
/
mount_root
diff --git
a/openwrt/package/base-files/default/sbin/mount_root
b/openwrt/package/base-files/default/sbin/mount_root
index
c393e06
..
427ff04
100755
(executable)
--- a/
openwrt/package/base-files/default/sbin/mount_root
+++ b/
openwrt/package/base-files/default/sbin/mount_root
@@
-22,6
+22,7
@@
if [ "$1" != "failsafe" ]; then
if [ -z "$(nvram get no_root_swap)" ]; then
is_clean || {
mtd erase OpenWrt
if [ -z "$(nvram get no_root_swap)" ]; then
is_clean || {
mtd erase OpenWrt
+ mtd unlock linux
jffs2root --clean
}
mtd unlock OpenWrt
jffs2root --clean
}
mtd unlock OpenWrt
@@
-29,10
+30,11
@@
if [ "$1" != "failsafe" ]; then
pivot_root /jffs /jffs/rom
mount none /proc -t proc
mount none /dev -t devfs
pivot_root /jffs /jffs/rom
mount none /proc -t proc
mount none /dev -t devfs
- umount /rom/proc rom/dev >&-
+ umount /rom/proc
/
rom/dev >&-
fi
fi
fi
mount none /tmp -t tmpfs -o nosuid,nodev,mode=1777,size=50%
mkdir -p /dev/pts
mount none /dev/pts -t devpts
fi
fi
fi
mount none /tmp -t tmpfs -o nosuid,nodev,mode=1777,size=50%
mkdir -p /dev/pts
mount none /dev/pts -t devpts
+grep sysfs /proc/filesystems >&- && mount -t sysfs none /sys
This page took
0.022846 seconds
and
4
git commands to generate.