RMX2061: Create device specific init rc file
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
This commit is contained in:
@@ -27,6 +27,10 @@ PRODUCT_COPY_FILES += \
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/configs/svi_config_19720.xml:$(TARGET_COPY_OUT_VENDOR)/etc/svi_config_19720.xml
|
||||
|
||||
# Init scripts
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/rootdir/etc/init.RMX2061.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.RMX2061.rc
|
||||
|
||||
# Overlays
|
||||
DEVICE_PACKAGE_OVERLAYS += \
|
||||
$(LOCAL_PATH)/overlay
|
||||
|
||||
5
rootdir/etc/init.RMX2061.rc
Normal file
5
rootdir/etc/init.RMX2061.rc
Normal file
@@ -0,0 +1,5 @@
|
||||
on init
|
||||
# Update Fastchg FW
|
||||
chmod 0660 /proc/fastchg_fw_update
|
||||
chown system system /proc/fastchg_fw_update
|
||||
write /proc/fastchg_fw_update 1
|
||||
Reference in New Issue
Block a user