From 795ea2eff9570506885705501a91516e14effbf3 Mon Sep 17 00:00:00 2001 From: nbd Date: Fri, 1 Jul 2005 15:32:48 +0000 Subject: fix mount options for /tmp git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1307 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/default/target_skeleton/sbin/mount_root | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target') diff --git a/target/default/target_skeleton/sbin/mount_root b/target/default/target_skeleton/sbin/mount_root index eef55b4bd..b4ec2ca56 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 -- cgit v1.2.3