mirror of
https://gitlab.com/Nanolx/NanoDroid
synced 2024-10-31 09:20:23 +00:00
allow reading configuration files from /system/addon.d
* OTA compat in System Mode for nanodroid-overlay * allow reading config files when /data can't be mounted from recovery
This commit is contained in:
parent
860fc69240
commit
b76553e8e4
@ -10,7 +10,7 @@ STORAGE=/data/media/0
|
||||
curdate=$(date +%Y%m%d_%H.%M.%S)
|
||||
nanodroid_logfile="${STORAGE}/nanodroid_logs/${MODID}_${VERSION}_log_${curdate}.log"
|
||||
|
||||
config_locations="${STORAGE} /external_sd /sdcard /sdcard1 /data /tmp"
|
||||
config_locations="${STORAGE} /external_sd /sdcard /sdcard1 /data /system/addon.d /tmp"
|
||||
|
||||
nanodroid_all_init='"10_sqlite 20_fstrim 30_logcat 40_external_sd 50_logscleaner"'
|
||||
|
||||
|
@ -216,7 +216,7 @@ overrides_genconfig () {
|
||||
}
|
||||
|
||||
# check for configuration files
|
||||
config_locations="/data/media/0 /external_sd /sdcard1 /data /tmp"
|
||||
config_locations="/data/media/0 /external_sd /sdcard1 /data /tmp /system/addon.d"
|
||||
media_rw=$(grep "^/dev/block.*/mnt/media_rw" /proc/mounts \
|
||||
| cut -d " " -f 2 \
|
||||
| cut -d "/" -f 4)
|
||||
|
Loading…
Reference in New Issue
Block a user