aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-07-01 15:32:48 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-07-01 15:32:48 +0000
commit2c91d8e5b1294cf9f49e3bee3080c0cfbc4d0dff (patch)
treef7f7a4be675167c775f784b02996931f08560b9f
parent57d11d731f26d4e8d074d22e6236164d5e7bf9f0 (diff)
downloadupstream-2c91d8e5b1294cf9f49e3bee3080c0cfbc4d0dff.tar.gz
upstream-2c91d8e5b1294cf9f49e3bee3080c0cfbc4d0dff.tar.bz2
upstream-2c91d8e5b1294cf9f49e3bee3080c0cfbc4d0dff.zip
fix mount options for /tmp
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1307 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xtarget/default/target_skeleton/sbin/mount_root2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/default/target_skeleton/sbin/mount_root b/target/default/target_skeleton/sbin/mount_root
index eef55b4bdb..b4ec2ca563 100755
--- a/target/default/target_skeleton/sbin/mount_root
+++ b/target/default/target_skeleton/sbin/mount_root
@@ -20,6 +20,6 @@ if [ "$1" != "failsafe" ]; then
umount /rom/proc rom/dev >&-
fi
fi
-mount none /tmp -t tmpfs size=50%
+mount none /tmp -t tmpfs -o nosuid,nodev,mode=1777,size=50%
mkdir -p /dev/pts
mount none /dev/pts -t devpts