diff options
author | Demon Singur <demonsingur@gmail.com> | 2018-05-12 17:49:58 +0000 |
---|---|---|
committer | Arian <arian.kulmer@web.de> | 2019-10-25 22:16:14 +0200 |
commit | 6d4ec7628c3fdec08b9008d45a60c97169e27626 (patch) | |
tree | 33d4085cfa6f0ccb2eb45491e95de78eb66649c0 /rootdir/bin | |
parent | 0a9fe994e0f944a971de6cf92c4bd65922a5201c (diff) |
shinano-common: use /vendor for /system/vendor
The /vendor symlink is available as soon as /system
is mounted, just use /vendor.
Change-Id: I2e92ed2abe225f1366cac418b13763bb5617f704
Diffstat (limited to 'rootdir/bin')
-rwxr-xr-x | rootdir/bin/credmgrfirstboot.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rootdir/bin/credmgrfirstboot.sh b/rootdir/bin/credmgrfirstboot.sh index 3b3ade9..ec99ca0 100755 --- a/rootdir/bin/credmgrfirstboot.sh +++ b/rootdir/bin/credmgrfirstboot.sh @@ -1,4 +1,4 @@ -#!/system/vendor/bin/sh +#!/vendor/bin/sh CREDFOLDER=/data/credmgr LOG=/cache/credmgr.log @@ -42,7 +42,7 @@ if [ "x$CREDMGRCNT" == "x0" ]; then chcon u:object_r:credmgrd_data_file:s0 $CREDFOLDER >> $LOG 2>&1 F_ERR $? "chcon $CREDFOLDER" echo "CREDINIT: cp initial file" >> $LOG 2>&1 - cp -v /system/vendor/CredentialManagerData /cache/CredentialManagerData >> $LOG 2>&1 + cp -v /vendor/CredentialManagerData /cache/CredentialManagerData >> $LOG 2>&1 F_ERR $? "copy CredentialManagerData" chown system:system /cache/CredentialManagerData >> $LOG 2>&1 F_ERR $? "chown CredentialManagerData" |