aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorklemmm <klemm@7un.net>2017-08-26 19:00:34 +0200
committerArian <arian.kulmer@web.de>2019-10-07 11:07:17 +0200
commit6f6ee97b18447ed483cc5f0343928cb77c5c529d (patch)
tree166769967c4c9f41b1b1b6e90f91f530b255aec4
parent76f0ff1cc08e8488191e98c9ffab62ec4de59a6d (diff)
shinano-common: init: Replace on post-fs
* Init class on post-fs has been deprecated. Use on post-fs-data instead. * Don't create /cache/credmgr.log (it prevented initcredmgr from starting) Change-Id: Icf275a51de665cfeb28e9f860a64a38bf4226b6a
-rw-r--r--rootdir/init.camera.rc19
1 files changed, 10 insertions, 9 deletions
diff --git a/rootdir/init.camera.rc b/rootdir/init.camera.rc
index 2ea39a7..90c5c0f 100644
--- a/rootdir/init.camera.rc
+++ b/rootdir/init.camera.rc
@@ -48,14 +48,14 @@ on boot
chown media system /sys/class/misc/pm8941-flash/device/strobe
chown media system /sys/class/misc/pm8941-flash/device/vph_pwr_droop
-on post-fs
- # we will remap this as /mnt/sdcard with the sdcard fuse tool
- mkdir /data/misc/camera 0770 camera camera
- mkdir /data/misc/cameraserver 0700 cameraserver cameraserver
+on post-fs-data
+ # we will remap this as /mnt/sdcard with the sdcard fuse tool
+ mkdir /data/misc/camera 0770 camera camera
+ mkdir /data/misc/cameraserver 0700 cameraserver cameraserver
- # create directory for scd
- mkdir /dev/socket/scd 0755 system system
- mkdir /data/scd 0755 system system
+ # create directory for scd
+ mkdir /dev/socket/scd 0755 system system
+ mkdir /data/scd 0755 system system
on post-fs-data
# SONY: Start early TA-users
@@ -78,8 +78,9 @@ on post-fs-data
# taimport ready, use this as trigger for multi-cdf-symlinker
# create credmgrinit log file
- touch /cache/credmgr.log
- restorecon -R /cache/credmgr.log
+ # Actually, no need, because it will be created by credmgrfirstboot.sh
+ # touch /cache/credmgr.log
+ # restorecon -R /cache/credmgr.log
service taimport /system/bin/taimport
class late_start