2 # Copyright (C) 2006 OpenWrt.org
4 mount none
/proc
-t proc
5 size
=$
(awk '/Mem:/ {l=5242880;print((s=$2/2)<l)?$2-l:s}' /proc
/meminfo
)
6 mount none
/tmp
-t tmpfs
-o size
=$size
8 if [ "$1" != "failsafe" ]; then
10 mount |
grep jffs2
>&-
12 if [ $
(cat /proc
/mtd |
wc -l) = 6 ]; then
16 mount
-o remount
,rw
/dev
/root
/
23 mount none
/tmp
-t tmpfs
-o remount
,nosuid
,nodev
,mode
=1777
25 mount none
/dev
/pts
-t devpts
26 mount
-t sysfs none
/sys
2>&-
This page took 0.044909 seconds and 5 git commands to generate.