diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-06-27 00:36:13 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-06-27 00:36:13 +0000 |
commit | d746a3c00aa26d453d96f4fbba451f30cdc13287 (patch) | |
tree | ae453198d2fb7da5cf5a393bb85106cf10e919a0 /package/base-files/default/sbin/mount_root | |
parent | 1e3f11406db5fb18b66015416a38d416ba082c06 (diff) | |
download | upstream-d746a3c00aa26d453d96f4fbba451f30cdc13287.tar.gz upstream-d746a3c00aa26d453d96f4fbba451f30cdc13287.tar.bz2 upstream-d746a3c00aa26d453d96f4fbba451f30cdc13287.zip |
add copyright headers to base-files scripts and config files
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4090 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/default/sbin/mount_root')
-rwxr-xr-x | package/base-files/default/sbin/mount_root | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package/base-files/default/sbin/mount_root b/package/base-files/default/sbin/mount_root index 647c25327a..81660f0067 100755 --- a/package/base-files/default/sbin/mount_root +++ b/package/base-files/default/sbin/mount_root @@ -1,4 +1,6 @@ #!/bin/sh +# Copyright (C) 2006 OpenWrt.org + mount none /proc -t proc size=$(awk '/Mem:/ {l=5242880;print((s=$2/2)<l)?$2-l:s}' /proc/meminfo) mount none /tmp -t tmpfs -o size=$size,nosuid,nodev,mode=1777 |