goldfish: avoid crashing ranchu-core

It should use /vendor/bin/sh instead of
/system/bin/sh.
Also it should let init to grab the wake_lock

Change-Id: I5b9993943695430769c92b140d424b329ca0ba62
(cherry picked from commit 8db244a3e09dce683dc0eaa8869b39f1540d00f2)
diff --git a/init.ranchu-core.sh b/init.ranchu-core.sh
index fd21a37..befac8e 100755
--- a/init.ranchu-core.sh
+++ b/init.ranchu-core.sh
@@ -1,4 +1,4 @@
-#!/system/bin/sh
+#!/vendor/bin/sh
 
 
 # ro.kernel.android.qemud is normally set when we
@@ -43,4 +43,4 @@
 
 
 # take the wake lock
-echo "emulator_wake_lock" > /sys/power/wake_lock
+#echo "emulator_wake_lock" > /sys/power/wake_lock
diff --git a/init.ranchu.rc b/init.ranchu.rc
index c3cc065..d5caf4a 100644
--- a/init.ranchu.rc
+++ b/init.ranchu.rc
@@ -14,6 +14,8 @@
 
 
 on boot
+    #grab wake_lock
+    echo "emulator_wake_lock" > /sys/power/wake_lock
     setprop net.eth0.gw 10.0.2.2
     setprop net.eth0.dns1 10.0.2.3
     setprop net.gprs.local-ip 10.0.2.15