diff options
Diffstat (limited to 'rootdir/system')
-rwxr-xr-x | rootdir/system/bin/credmgrfirstboot.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rootdir/system/bin/credmgrfirstboot.sh b/rootdir/system/bin/credmgrfirstboot.sh index 20de77d..289f9b1 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 credmgr_client -type f -name "credmgr.db" | wc -l ) +CREDMGRCNT=$(find $CREDFOLDER -group oem_5996 -type f -name "credmgr.db" | wc -l ) echo -e "credmgr folder:\n$(ls -la $CREDFOLDER)\ncredmgr match (if any):" >> $LOG -find $CREDFOLDER -group credmgr_client -type f -name "credmgr.db" >> $LOG +find $CREDFOLDER -group oem_5996 -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:credmgr_client $CREDFOLDER >> $LOG 2>&1 + chown system:oem_5996 $CREDFOLDER >> $LOG 2>&1 F_ERR $? "chown $CREDFOLDER" chcon u:object_r:credmgrd_data_file:s0 $CREDFOLDER >> $LOG 2>&1 F_ERR $? "chcon $CREDFOLDER" |