Changeset aa1f004 in freewrt for target/linux
- Timestamp:
- Nov 24, 2006, 4:07:42 PM (19 years ago)
- Children:
- 1c5c32b
- Parents:
- 727d3354
- File:
-
- 1 edited
-
target/linux/rb-2.6/files/sbin/mount_root (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
target/linux/rb-2.6/files/sbin/mount_root
r727d3354 raa1f004 1 1 #!/bin/sh 2 2 3 size=$(awk '/MemTotal:/ {l=5 242880;print((s=$2/2)<l)?$2-l:s}' /proc/meminfo)3 size=$(awk '/MemTotal:/ {l=5120;print(((s=$2/2)<l)?$2-l:s)*1024}' /proc/meminfo) 4 4 mount none /tmp -t tmpfs -o size=$size 5 5 mount none /tmp -t tmpfs -o remount,nosuid,nodev,mode=1777
Note:
See TracChangeset
for help on using the changeset viewer.
