diff options
author | nailyk-fr <jenkins@nailyk.fr> | 2017-10-21 19:18:43 +0200 |
---|---|---|
committer | Arian <arian.kulmer@web.de> | 2019-10-07 11:07:18 +0200 |
commit | 5b555b410b729908841f6afa928d4d1b164afcaf (patch) | |
tree | 2789696c4e70a0e3e42d8e35be07c0eaec73d607 /rootdir/system | |
parent | 355d7a25539740a74493f742da5d6be943a3bb8c (diff) |
shinano-common: init: Get rid of oem users
* Camera can work without sony specific users.
Remove them.
Change-Id: Idb359fa33532c1fa2b8f042362bb027f76ec31e4
Diffstat (limited to 'rootdir/system')
-rwxr-xr-x | rootdir/system/bin/credmgrfirstboot.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rootdir/system/bin/credmgrfirstboot.sh b/rootdir/system/bin/credmgrfirstboot.sh index 289f9b1..33062df 100755 --- a/rootdir/system/bin/credmgrfirstboot.sh +++ b/rootdir/system/bin/credmgrfirstboot.sh @@ -18,10 +18,10 @@ F_ERR(){ } # If credmgrd data doesn't match our -CREDMGRCNT=$(find $CREDFOLDER -group oem_5996 -type f -name "credmgr.db" | wc -l ) +CREDMGRCNT=$(find $CREDFOLDER -group system -type f -name "credmgr.db" | wc -l ) echo -e "credmgr folder:\n$(ls -la $CREDFOLDER)\ncredmgr match (if any):" >> $LOG -find $CREDFOLDER -group oem_5996 -type f -name "credmgr.db" >> $LOG +find $CREDFOLDER -group system -type f -name "credmgr.db" >> $LOG if [ "x$CREDMGRCNT" == "x0" ]; then @@ -34,7 +34,7 @@ if [ "x$CREDMGRCNT" == "x0" ]; then # Put binary into /cache mkdir $CREDFOLDER >> $LOG 2>&1 F_ERR $? "mkdir $CREDFOLDER" - chown system:oem_5996 $CREDFOLDER >> $LOG 2>&1 + chown system:system $CREDFOLDER >> $LOG 2>&1 F_ERR $? "chown $CREDFOLDER" chcon u:object_r:credmgrd_data_file:s0 $CREDFOLDER >> $LOG 2>&1 F_ERR $? "chcon $CREDFOLDER" @@ -47,4 +47,4 @@ fi # Tell init we are ready setprop sys.credmgrdready true -F_ERR $? "setting property"
\ No newline at end of file +F_ERR $? "setting property" |