summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorDoug Zongker <dougz@google.com>2013-08-30 12:20:16 -0700
committerDoug Zongker <dougz@google.com>2013-08-30 12:20:16 -0700
commit77ea71d6a85a93c9bf423466e87661b1bf67c512 (patch)
tree9b82ab892462977b8cc5ed5d7b27db6e602b7110 /etc
parent239ac6abac4524be93fce710360c0512c6cc2ab3 (diff)
downloadbootable_recovery-77ea71d6a85a93c9bf423466e87661b1bf67c512.zip
bootable_recovery-77ea71d6a85a93c9bf423466e87661b1bf67c512.tar.gz
bootable_recovery-77ea71d6a85a93c9bf423466e87661b1bf67c512.tar.bz2
recovery: fix rebooting
Change I84c0513acb549720cb0e8c9fcbda0050f5c396f5 moved reboot functionality into init but did not update the recovery partition; so "adb reboot" and /system/bin/reboot in recovery are both broken. Change-Id: Ie2d14627a686ffb5064256b6c399723636dff116
Diffstat (limited to 'etc')
-rw-r--r--etc/init.rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/init.rc b/etc/init.rc
index b26d2ae..9d1da1d 100644
--- a/etc/init.rc
+++ b/etc/init.rc
@@ -38,6 +38,9 @@ on boot
class_start default
+on property:sys.powerctl=*
+ powerctl ${sys.powerctl}
+
service ueventd /sbin/ueventd
critical