mirror of
https://gitlab.com/Nanolx/NanoDroid
synced 2024-11-02 03:40:13 +00:00
nanodroid-overlay: in system mode mount /system read-write
This commit is contained in:
parent
5a46dcef44
commit
e38ce517de
@ -225,6 +225,8 @@ get_config .nanodroid-overlay
|
|||||||
opt=${1}
|
opt=${1}
|
||||||
[[ -z ${opt} ]] && show_help || shift
|
[[ -z ${opt} ]] && show_help || shift
|
||||||
|
|
||||||
|
[[ ${NO_MAGISK} -eq 1 ]] && mount -orw,remount /system
|
||||||
|
|
||||||
case ${opt} in
|
case ${opt} in
|
||||||
-l | --list ) overrides_list ;;
|
-l | --list ) overrides_list ;;
|
||||||
-a | --add ) overrides_add "${@}" ;;
|
-a | --add ) overrides_add "${@}" ;;
|
||||||
@ -241,3 +243,5 @@ case ${opt} in
|
|||||||
|
|
||||||
* ) show_help ;;
|
* ) show_help ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
[[ ${NO_MAGISK} -eq 1 ]] && mount -oro,remount /system
|
||||||
|
Loading…
Reference in New Issue
Block a user