From ffbb81e84e2580e6add134750eb4b9ab2ab1cae1 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Fri, 4 Jan 2019 01:10:38 +0100 Subject: [PATCH] Add (commented) debug mode for rw-system.sh --- rw-system.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rw-system.sh b/rw-system.sh index 8f9a549..562d73e 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -1,5 +1,10 @@ #!/system/bin/sh +#Uncomment me to output sh -x of this script to /cache/phh/logs +#if [ -z "$debug" ];then +# mkdir -p /cache/phh +# debug=1 exec sh -x "$(readlink -f -- "$0")" > /cache/phh/logs 2>&1 +#fi vndk="$(getprop persist.sys.vndk)" setprop sys.usb.ffs.aio_compat true