fix mount options for /tmp
authorMike Baker <mbm@openwrt.org>
Tue, 14 Jun 2005 04:19:46 +0000 (04:19 +0000)
committerMike Baker <mbm@openwrt.org>
Tue, 14 Jun 2005 04:19:46 +0000 (04:19 +0000)
SVN-Revision: 1234

openwrt/target/default/target_skeleton/sbin/mount_root

index eef55b4bdb544dabf845daa0bf3499229239a08d..b4ec2ca563b526ac3c32f7ccda8eae15ea3ee172 100755 (executable)
@@ -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