android_device_allwinner-full/tulip-chiphd/init.recovery.sun50iw1p1.rc
2016-12-18 13:56:03 +01:00

26 lines
565 B
Text
Executable file

on init
setenforce 0
insmod /nand.ko
insmod /sw-device.ko debug_mask=0xff ctp_mask=1
insmod /sunxi-keyboard.ko
insmod /disp.ko
insmod /lcd.ko
insmod /hdmi.ko
mkdir /extsd
# mount bootloader partition and remove recovery.txt marker
mkdir /bootloader
mount vfat /dev/block/mmcblk0p1 /bootloader rw wait
rm /bootloader/recovery.txt
service console /sbin/busybox sh
class core
seclabel u:r:shell:s0
console
service watchdogd /sbin/watchdogd 60 20
class core
oneshot
seclabel u:r:watchdogd:s0