summaryrefslogtreecommitdiff
path: root/openwrt/target/default/target_skeleton
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
commitdec2f5a866fe9c3cedd91df1d4d650332f5a118b (patch)
tree71c72ca71da02a1c2d19d07e303e319a84ac246d /openwrt/target/default/target_skeleton
parent55e75077c7a572bac9e208263709a54e4633f3d0 (diff)
downloadmtk-20170518-dec2f5a866fe9c3cedd91df1d4d650332f5a118b.zip
mtk-20170518-dec2f5a866fe9c3cedd91df1d4d650332f5a118b.tar.gz
mtk-20170518-dec2f5a866fe9c3cedd91df1d4d650332f5a118b.tar.bz2
fix mount options for /tmp
SVN-Revision: 1307
Diffstat (limited to 'openwrt/target/default/target_skeleton')
-rwxr-xr-xopenwrt/target/default/target_skeleton/sbin/mount_root2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/target/default/target_skeleton/sbin/mount_root b/openwrt/target/default/target_skeleton/sbin/mount_root
index eef55b4..b4ec2ca 100755
--- a/openwrt/target/default/target_skeleton/sbin/mount_root
+++ b/openwrt/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