summaryrefslogtreecommitdiff
path: root/package/base-files/src
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-07-20 16:58:02 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-07-20 16:58:02 +0200
commit126fb42bf9e5eee309fc3dcb889e49e6c88da15a (patch)
tree501912dc0d34f0ec6baa38bb99b71d3c8f8655b5 /package/base-files/src
parent7907e3ee7302ac3fd428989a07b0df74f0c52853 (diff)
parentd9ab4fecc47e7597ae42e95aabaef3e01d91c732 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/base-files/src')
-rwxr-xr-xpackage/base-files/src/init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/src/init b/package/base-files/src/init
index 173e91b0b..7da1e150f 100755
--- a/package/base-files/src/init
+++ b/package/base-files/src/init
@@ -4,8 +4,8 @@ export PATH=/bin:/sbin:/usr/bin:/usr/sbin
mount -nt proc proc /proc
mount -o nosuid,nodev,noexec -t sysfs sysfs /sys
[ ! -f /etc/notmpfs ] && {
- size=2048
size=$(cat /etc/tmpfs 2>/dev/null)
+ [ -z $size ] && size=2048
mount none /tmp -t tmpfs -o size=${size}k
mount none /tmp -t tmpfs -o remount,nosuid,nodev,mode=1777
}