Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
付燕斌
android-image-pack-tool
Commits
622d9310
Commit
622d9310
authored
Dec 18, 2023
by
fuyanbin
Browse files
用于覆盖旧的cm311里的文件
parent
410e1d31
Changes
1
Hide whitespace changes
Inline
Side-by-side
services/startsoftdetector.sh
0 → 100755
View file @
622d9310
#!/system/bin/sh
# Script to start "softdetector probe service" on the device
#
echo
"start softdetector probe service"
dataFile
=
"/data/data/com.cmcc.mid.softdetector/lib/libpcapcmcc.so"
systemFile
=
"/system/bin/libpcapcmcc.so"
while
[
!
-f
$dataFile
]
&&
[
!
-f
$systemFile
]
do
sleep
3
;
done
sleep
1
if
[
-f
$dataFile
]
;
then
echo
"dataFile excute"
/data/data/com.cmcc.mid.softdetector/lib/libpcapcmcc.so
else
echo
"systemFile excute"
/system/bin/libpcapcmcc.so
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment