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 | f804d0ea1d131152acccd2a108c231fe07c4196c (patch) | |
tree | 9e645cd7f30ba5db61ca860cb8a1d9626dfc152a /openwrt/package/base-files/au1000-2.6/sbin/mount_root | |
parent | 3e639bb44e72036b1b16f07025a7997fa561124d (diff) | |
download | mtk-20170518-f804d0ea1d131152acccd2a108c231fe07c4196c.zip mtk-20170518-f804d0ea1d131152acccd2a108c231fe07c4196c.tar.gz mtk-20170518-f804d0ea1d131152acccd2a108c231fe07c4196c.tar.bz2 |
add copyright headers to base-files scripts and config files
SVN-Revision: 4090
Diffstat (limited to 'openwrt/package/base-files/au1000-2.6/sbin/mount_root')
-rwxr-xr-x | openwrt/package/base-files/au1000-2.6/sbin/mount_root | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openwrt/package/base-files/au1000-2.6/sbin/mount_root b/openwrt/package/base-files/au1000-2.6/sbin/mount_root index bc4165c..718394c 100755 --- a/openwrt/package/base-files/au1000-2.6/sbin/mount_root +++ b/openwrt/package/base-files/au1000-2.6/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 |