Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/init-script b/init-script
- index 2b92ee5..48a4a5e 100755
- --- a/init-script
- +++ b/init-script
- @@ -148,6 +148,8 @@ mount_stowaways() {
- mount --bind /data/${data_subdir}/.stowaways/${DEFAULT_OS} /target
- mkdir /target/data # in new fs
- mount --bind /data/${data_subdir} /target/data
- + mkdir /target/sdcard0 # in new fs
- + mount --bind /data/media/0 /target/sdcard0
- else
- echo "Failed to mount /target, device node '$DATA_PARTITION' not found!" >> /diagnosis.log
- fi
- @@ -156,6 +158,7 @@ mount_stowaways() {
- umount_stowaways() {
- if [ ! -z $DATA_PARTITION ]; then
- + umount /target/sdcard0
- umount /target/data
- umount /target
- umount /data
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement