Add (commented) debug mode for rw-system.sh

This commit is contained in:
Pierre-Hugues Husson 2019-01-04 01:10:38 +01:00
parent 251a51e6cf
commit ffbb81e84e

View File

@ -1,5 +1,10 @@
#!/system/bin/sh #!/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)" vndk="$(getprop persist.sys.vndk)"
setprop sys.usb.ffs.aio_compat true setprop sys.usb.ffs.aio_compat true