am 77ea71d6: recovery: fix rebooting
* commit '77ea71d6a85a93c9bf423466e87661b1bf67c512': recovery: fix rebooting
This commit is contained in:
@@ -38,6 +38,9 @@ on boot
|
|||||||
|
|
||||||
class_start default
|
class_start default
|
||||||
|
|
||||||
|
on property:sys.powerctl=*
|
||||||
|
powerctl ${sys.powerctl}
|
||||||
|
|
||||||
service ueventd /sbin/ueventd
|
service ueventd /sbin/ueventd
|
||||||
critical
|
critical
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1062,6 +1062,6 @@ main(int argc, char **argv) {
|
|||||||
// Otherwise, get ready to boot the main system...
|
// Otherwise, get ready to boot the main system...
|
||||||
finish_recovery(send_intent);
|
finish_recovery(send_intent);
|
||||||
ui->Print("Rebooting...\n");
|
ui->Print("Rebooting...\n");
|
||||||
android_reboot(ANDROID_RB_RESTART, 0, 0);
|
property_set(ANDROID_RB_PROPERTY, "");
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user