diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-01-07 12:48:39 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-01-07 12:48:39 +0000 |
commit | 666c4d431cd585ce45df93bef58ada648bf88b55 (patch) | |
tree | 84c5b3e36557ecba965492b06cdb69d2a7ce6c86 /initramfs-init.in | |
parent | d869559037802dcef6e2cd8551ab3ac0ececf690 (diff) | |
download | mkinitfs-666c4d431cd585ce45df93bef58ada648bf88b55.tar.bz2 mkinitfs-666c4d431cd585ce45df93bef58ada648bf88b55.tar.xz |
init: make / readonly for world when tmpfs
Diffstat (limited to 'initramfs-init.in')
-rwxr-xr-x | initramfs-init.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/initramfs-init.in b/initramfs-init.in index d140d75..8604c12 100755 --- a/initramfs-init.in +++ b/initramfs-init.in @@ -328,9 +328,9 @@ if [ "$SINGLEMODE" = "yes" ]; then fi # mount tmpfs sysroot -root_opts= +root_opts="-o mode=0755" if [ -n "$KOPT_root_size" ]; then - root_opts="-o size=$KOPT_root_size" + root_opts="$root_opts,size=$KOPT_root_size" fi mount -t tmpfs $root_opts tmpfs $sysroot |