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
0dae34f0
Commit
0dae34f0
authored
Jan 26, 2024
by
fuyanbin
Browse files
fix: android4.4 用 startsoftdetector.sh 启动 starthugep.sh, services 目录里的同名文件会覆盖system分区里的
parent
e3449861
Changes
1
Show whitespace changes
Inline
Side-by-side
services/startsoftdetector.sh
deleted
100755 → 0
View file @
e3449861
#!/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