am 366f78a9: am 77ea71d6: recovery: fix rebooting

* commit '366f78a9df45d6648746de8454655224b22c31fd':
  recovery: fix rebooting
This commit is contained in:
Doug Zongker
2013-08-30 14:10:21 -07:00
committed by Android Git Automerger
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -38,6 +38,9 @@ on boot
class_start default
on property:sys.powerctl=*
powerctl ${sys.powerctl}
service ueventd /sbin/ueventd
critical
+1 -1
View File
@@ -1062,6 +1062,6 @@ main(int argc, char **argv) {
// Otherwise, get ready to boot the main system...
finish_recovery(send_intent);
ui->Print("Rebooting...\n");
android_reboot(ANDROID_RB_RESTART, 0, 0);
property_set(ANDROID_RB_PROPERTY, "");
return EXIT_SUCCESS;
}