2 size
=$
(awk '/Mem:/ {l=5242880;print((s=$2/2)<l)?$2-l:s}' /proc
/meminfo
)
3 mount none
/tmp
-t tmpfs
-o size
=$size
5 if [ "$1" != "failsafe" ]; then
9 if [ $
(cat /proc
/mtd |
wc -l) = 6 ]; then
12 mount
-o remount
,rw
/dev
/root
/
16 echo "switching to jffs2"
17 mount
/dev
/mtdblock
/4 /jffs
-t jffs2
19 echo "jffs2 unusable; using ramdisk"
25 mount none
/tmp
-t tmpfs
-o remount
,nosuid
,nodev
,mode
=1777
27 mount none
/dev
/pts
-t devpts
28 mount
-t sysfs none
/sys
2>&-
This page took 0.049371 seconds and 5 git commands to generate.