diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-07-01 15:32:48 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-07-01 15:32:48 +0000 |
commit | 4bc52e284117fdee23ee6129df70faf93b705868 (patch) | |
tree | 71c72ca71da02a1c2d19d07e303e319a84ac246d | |
parent | 2aba3b6749d5c672851eb364a41620c84ee9e879 (diff) |
fix mount options for /tmp
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1307 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-x | openwrt/target/default/target_skeleton/sbin/mount_root | 2 |
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 eef55b4bd..b4ec2ca56 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 |