From e7fde6576eac9d640f3d22d942f9f984f17f20f0 Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Sun, 14 Jul 2024 13:54:23 +0000 Subject: [PATCH] Revert "sabrina: Override systemcontrol to allow NET_ADMIN" This reverts commit a627b61631364e94a5af7d6087128120e95aaaca. Reason for revert: Doesn't work. Change-Id: Ia272f8644f31dfab2f5d3ee320e936d0ca6f3689 --- device.mk | 3 +-- init-files/systemcontrol_sabrina.rc | 7 ------- 2 files changed, 1 insertion(+), 9 deletions(-) delete mode 100644 init-files/systemcontrol_sabrina.rc diff --git a/device.mk b/device.mk index 43fc6aa..fbe0623 100644 --- a/device.mk +++ b/device.mk @@ -16,8 +16,7 @@ include kernel/amlogic/kernel-modules/dhd-driver/firmware/bluetooth/bluetooth.mk PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/init-files/init.amlogic.sku.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.sku.rc \ $(LOCAL_PATH)/init-files/init.amlogic.wifi_buildin.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.wifi_buildin.rc \ - $(LOCAL_PATH)/init-files/init.recovery.sabrina.rc:recovery/root/init.recovery.sabrina.rc \ - $(LOCAL_PATH)/init-files/systemcontrol_sabrina.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/systemcontrol_sabrina.rc + $(LOCAL_PATH)/init-files/init.recovery.sabrina.rc:recovery/root/init.recovery.sabrina.rc ## Keylayout (IR) PRODUCT_COPY_FILES += \ diff --git a/init-files/systemcontrol_sabrina.rc b/init-files/systemcontrol_sabrina.rc deleted file mode 100644 index 5f709d3..0000000 --- a/init-files/systemcontrol_sabrina.rc +++ /dev/null @@ -1,7 +0,0 @@ -service system_control /vendor/bin/systemcontrol - override - user root - group system root media audio - interface vendor.amlogic.hardware.systemcontrol@1.0::ISystemControl default - interface vendor.amlogic.hardware.systemcontrol@1.1::ISystemControl default - capabilities NET_ADMIN -- 2.20.1