diff options
| author | Waldemar Brodkorb <wbx@openadk.org> | 2010-11-08 18:40:25 +0100 |
|---|---|---|
| committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-11-08 18:40:25 +0100 |
| commit | d250a5aa67121b63d4315238c988c3a5111b7a22 (patch) | |
| tree | be1374e6590d2671cd85249163f4daf3d5e11633 /package/base-files/src/init | |
| parent | 32e0a1811fde45e0174fd2c88979733dfa52b62a (diff) | |
| parent | e518dde1484afa818ea4aae89c7cab91c64bf4a2 (diff) | |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/base-files/src/init')
| -rwxr-xr-x | package/base-files/src/init | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/package/base-files/src/init b/package/base-files/src/init index 0031b63c3..553cb5b3d 100755 --- a/package/base-files/src/init +++ b/package/base-files/src/init @@ -4,10 +4,9 @@ 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=$(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 + size=$(cat /etc/tmpfs 2>/dev/null) + [ -z $size ] && size=2048 + mount none /tmp -t tmpfs -o remount,nosuid,nodev,mode=1777,size=${size}k } mount -o remount,nosuid,size=128k,mode=0755 -t tmpfs mdev /dev mkdir /dev/pts /dev/shm |
