mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-23 18:15:30 +00:00
Remove code in scripts that should be removed
This commit is contained in:
parent
e34e04af04
commit
ae23ae2d37
@ -164,14 +164,6 @@ if [ -f magisk64 ]; then
|
||||
unset SKIP64
|
||||
fi
|
||||
|
||||
# Work around custom legacy Sony /init -> /(s)bin/init_sony : /init.real setup
|
||||
INIT=init
|
||||
SKIPSONY="#"
|
||||
if ./magiskboot cpio ramdisk.cpio "exists init.real"; then
|
||||
INIT=init.real
|
||||
unset SKIPSONY
|
||||
fi
|
||||
|
||||
./magiskboot cpio ramdisk.cpio \
|
||||
"add 0750 $INIT magiskinit" \
|
||||
"mkdir 0750 overlay.d" \
|
||||
|
@ -125,10 +125,6 @@ case $((STATUS & 3)) in
|
||||
else
|
||||
ui_print "! Boot image backup unavailable"
|
||||
ui_print "- Restoring ramdisk with internal backup"
|
||||
if ./magiskboot cpio ramdisk.cpio "exists init.real"; then
|
||||
# Work around custom legacy Sony /init -> /(s)bin/init_sony : /init.real setup
|
||||
./magiskboot cpio ramdisk.cpio "mv .backup/init .backup/init.real"
|
||||
fi
|
||||
./magiskboot cpio ramdisk.cpio restore
|
||||
if ! ./magiskboot cpio ramdisk.cpio "exists init"; then
|
||||
# A only system-as-root
|
||||
|
Loading…
Reference in New Issue
Block a user