--- /data/adb/modules/acc/misc-functions.sh.ORIG +++ /data/adb/modules/acc/misc-functions.sh @@ -244,7 +244,35 @@ misc_stuff() { set -eu - mkdir -p ${config%/*} $userDir +## REPORT BEGIN Edited by romanegunkov + echo REPORT 1B + logcat -d | grep -i -C 1 \ + -e "Beginning of system" \ + -e "Current time" \ + -e "Linking /storage/emulated" + echo REPORT 1E + + echo REPORT 2B + stat $userDir || true + stat $userDir/ || true + realpath $userDir || true + echo REPORT 2E + + until mkdir -p ${config%/*} $userDir + do + echo REPORT 3B + stat $userDir/ || true + echo REPORT 3E + sleep 10 + done + + echo REPORT 4B + logcat -d | grep -i -C 1 \ + -e "Beginning of system" \ + -e "Current time" \ + -e "Linking /storage/emulated" + echo REPORT 4E +## REPORT END Edited by romanegunkov [ -f $config ] || cp $execDir/default-config.txt $config # config backup