diff options
| author | Mister Oyster <oysterized@gmail.com> | 2017-01-02 12:44:35 +0100 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-01-02 12:44:35 +0100 |
| commit | a184d985bf43d3fe6eeba971bc6b32f79ea38b37 (patch) | |
| tree | 6f6e56e090777cc149bc1ab39e5987cc2b03e867 /rootdir/init.ssd.rc | |
initial releasecm-13.0
Diffstat (limited to 'rootdir/init.ssd.rc')
| -rw-r--r-- | rootdir/init.ssd.rc | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/rootdir/init.ssd.rc b/rootdir/init.ssd.rc new file mode 100644 index 0000000..ae081e1 --- /dev/null +++ b/rootdir/init.ssd.rc @@ -0,0 +1,27 @@ +# MTK project .rc configure + +on post-fs-data +# +# SHARED_SDCARD related directory & configuration (begin) +# + +# we will remap this as /mnt/sdcard with the sdcard fuse tool + mkdir /data/media 0770 media_rw media_rw + chown media_rw media_rw /data/media + +# +# SHARED_SDCARD related directory & configuration (end) +# + +on init + mount tmpfs tmpfs /storage/emulated mode=0755,uid=1023,gid=1023 + + # Support legacy paths + symlink /sdcard /mnt/sdcard + symlink /sdcard /storage/sdcard0 + +on post-fs + # mount shared so changes propagate into child namespaces + mount rootfs rootfs / shared rec + mount tmpfs tmpfs /mnt/secure private rec + |
