Fix SuperSU support for helper module

This commit is contained in:
topjohnwu
2016-10-03 11:01:24 +08:00
parent 88c25a9390
commit f64f95d8ff
4 changed files with 13 additions and 8 deletions

View File

@@ -344,6 +344,8 @@ if (! $NORESTORE); then
if [ -f "sbin/launch_daemonsu.sh" ]; then
SUPERSU=true
# Save it for helper module
mkdir -p /magisk/zzsupersu
touch /magisk/zzsupersu/stub
cp -af sbin/launch_daemonsu.sh $INSTALLER/roothelper/launch_daemonsu.sh
fi
# Non-standard boot image restores