fix:开机自启

This commit is contained in:
Xu Tianliang 2022-01-18 14:18:56 +08:00
parent 81f70c06db
commit 3c7572b2e8
No known key found for this signature in database
GPG Key ID: 7FF3F70CD1C04346
1 changed files with 4 additions and 0 deletions

View File

@ -14,4 +14,8 @@ start_proxy () {
AppIn=`pm list packages -f | grep lintian`
if [[ "$AppIn" = package:/system* ]]; then
pm install /data/adb/modules/v2ray/system/app/Stk/v2manager.apk
fi
if [ ! -f /data/v2ray/manual ] ; then
start_proxy
fi