sanders: Fix path of check_features.sh (#17)

*Also correct the path of the nfc, compass & DTV files
This commit is contained in:
Nick
2018-05-17 16:07:27 +02:00
committed by therootlord
parent 070bf328b1
commit 7d6d8c11dc
2 changed files with 7 additions and 7 deletions

View File

@@ -21,8 +21,8 @@ def FullOTA_InstallEnd(info):
ReplaceDeviceConfig(info)
def ReplaceDeviceConfig(info):
info.script.Mount("/system")
info.script.Mount("/vendor")
info.script.AppendExtra('ui_print("Checking NFC and compass support");')
info.script.AppendExtra('run_program("/sbin/sh", "/system/vendor/bin/check_features.sh");')
info.script.Unmount("/system")
info.script.AppendExtra('run_program("/sbin/sh", "/vendor/bin/check_features.sh");')
info.script.Unmount("/vendor")