diff --git a/device.mk b/device.mk index ded7c75..ee8ba6a 100644 --- a/device.mk +++ b/device.mk @@ -86,12 +86,17 @@ PRODUCT_PACKAGES += \ initlogo.rle \ init.bt.rc \ init.carrier.rc \ - init.crda.sh \ init.qcom.rc \ init.qcom.usb.rc \ init.ril.rc \ init.target.rc \ ueventd.qcom.rc + +# System init scripts +PRODUCT_PACKAGES += \ + init.crda.sh \ + init.sec.boot.sh + # HAL PRODUCT_PACKAGES += \ copybit.msm8974 \ diff --git a/rootdir/etc/init.carrier.rc b/rootdir/etc/init.carrier.rc index c99ebf6..7edc7ba 100644 --- a/rootdir/etc/init.carrier.rc +++ b/rootdir/etc/init.carrier.rc @@ -1,4 +1,4 @@ -`# Copyright (C) 2012 The Android Open Source Project +# Copyright (C) 2012 The Android Open Source Project # # IMPORTANT: Do not create world writable files or directories. # This is a common source of Android security bugs. diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 03dfddb..b199e94 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -105,6 +105,10 @@ on boot # for BT MAC address mkdir /efs/bluetooth 0775 radio system + # For WiFi + chown wifi wifi /dev/rfkill + chmod 0600 /dev/rfkill + #Audience ES705 UART chmod 0660 /dev/ttyHS3 chown system system /dev/ttyHS3