summaryrefslogtreecommitdiff
path: root/package/base-files/src/init
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/src/init')
-rwxr-xr-xpackage/base-files/src/init1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/src/init b/package/base-files/src/init
index a9564011d..c57149fe3 100755
--- a/package/base-files/src/init
+++ b/package/base-files/src/init
@@ -12,6 +12,7 @@ mount -o nosuid,nodev,noexec -t sysfs sysfs /sys
mount -o remount,nosuid,size=128k,mode=0755 -t tmpfs mdev /dev
[ -d /dev/pts ] || mkdir /dev/pts
[ -d /dev/shm ] || mkdir /dev/shm
+mount -o nosuid,noexec -t tmpfs tmpfs /dev/shm
mount -o nosuid,noexec -t devpts devpts /dev/pts
exec 0<>/dev/console >&0 2>&0
echo >/dev/mdev.seq