import /init.recovery.qcom_decrypt.rc

on init
    write /sys/class/backlight/panel0-backlight/brightness 200
    # Create location for fs_mgr to store abbreviated output from filesystem
    # checker programs.
    mkdir /dev/fscklogs 0770 root system

on fs
    wait /dev/block/platform/soc/${ro.boot.bootdevice}
    symlink /dev/block/platform/soc/${ro.boot.bootdevice} /dev/block/bootdevice
    # Set fscklog permission
    chown root system /dev/fscklogs/log
    chmod 0770 /dev/fscklogs/log
    start boot-hal-1-1

on boot
    start health-hal-2-1
    setprop sys.usb.config adb
    chmod 0777 /system/bin/runatboot.sh
    start load_modules

service load_modules /system/bin/load_modules.sh
    user root
    group root
    disabled
    oneshot
    seclabel u:r:recovery:s0
