From 9aadf82ba3b3f6e4ea63850d1d5e03c3072aa8e9 Mon Sep 17 00:00:00 2001 From: nailyk-fr Date: Thu, 5 Oct 2017 19:39:50 +0200 Subject: shinano-common: init: Use obscur oreo UID/GID 2/2 * Correct some sed mistakes. Change-Id: I9f08615c0e622740fdc7ab80b25855dc03c87a74 --- rootdir/init.camera.rc | 8 ++++---- rootdir/init.sony.rc | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'rootdir') diff --git a/rootdir/init.camera.rc b/rootdir/init.camera.rc index 90c5c0f..16448f2 100644 --- a/rootdir/init.camera.rc +++ b/rootdir/init.camera.rc @@ -24,7 +24,7 @@ on init on early-fs wait /dev/block/mmcblk0p1 - class_start oem_5993 + class_start trimarea exec u:r:qti_init_shell:s0 -- /sbin/wait4tad_static on early-boot @@ -144,11 +144,11 @@ service qcamerasvr /system/bin/mm-qcamera-daemon group camera system inet input graphics oem_5996 cameraserver # seclabel u:r:mm-qcamerad:s0 -# SONY: oem_5993 Daemon +# SONY: TrimArea Daemon # Last 2 args: start block(blk size 128k), number of blocks(partitionsize(kb)/128(kb)) service tad_static /sbin/tad_static /dev/block/bootdevice/by-name/TA 0,16 #service tad_static /sbin/tad_static /data/credmgr/ta_part.bin 0,16 - class oem_5993 + class trimarea user oem_5997 group oem_5997 oem_5993 root socket tad stream 0770 system oem_5993 @@ -156,7 +156,7 @@ service tad_static /sbin/tad_static /dev/block/bootdevice/by-name/TA 0,16 seclabel u:r:tad:s0 service updatemiscta /system/bin/updatemiscta class main - user updatemiscta + user oem_5991 group oem_5993 oneshot diff --git a/rootdir/init.sony.rc b/rootdir/init.sony.rc index 65d9f13..3decaa7 100644 --- a/rootdir/init.sony.rc +++ b/rootdir/init.sony.rc @@ -2,7 +2,7 @@ on fs # SONY: create mount point for idd - mkdir /idd 0751 idd idd + mkdir /idd 0751 oem_5987 oem_5987 # SONY: setup idd partition chown oem_5987 oem_5987 /idd @@ -13,8 +13,8 @@ on fs on-post-fs-data mkdir /mnt/idd/lost+found 0770 root root - mkdir /mnt/idd/output 0755 idd idd - mkdir /mnt/idd/socket 0711 idd idd + mkdir /mnt/idd/output 0755 oem_5987 oem_5987 + mkdir /mnt/idd/socket 0711 oem_5987 oem_5987 restorecon_recursive /mnt/idd service iddd /system/bin/iddd -- cgit v1.2.3