summaryrefslogtreecommitdiff
path: root/openwrt/package/base-files/au1000-2.6/sbin/mount_root
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-06-27 00:36:13 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-06-27 00:36:13 +0000
commitf804d0ea1d131152acccd2a108c231fe07c4196c (patch)
tree9e645cd7f30ba5db61ca860cb8a1d9626dfc152a /openwrt/package/base-files/au1000-2.6/sbin/mount_root
parent3e639bb44e72036b1b16f07025a7997fa561124d (diff)
downloadmtk-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-xopenwrt/package/base-files/au1000-2.6/sbin/mount_root2
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