android_device_xiaomi_sm835.../rootdir/bin/init.recovery.qcom.sh

10 lines
138 B
Bash

#!/system/bin/sh
while [ ! -d /dev/block/mapper ]; do
sleep 1
done
ln -s /dev/block/mapper/* /dev/block/bootdevice/by-name/
exit 0