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
800f3515
Commit
800f3515
authored
Oct 29, 2024
by
fuyanbin
Browse files
typo
parent
46959fd6
Changes
1
Hide whitespace changes
Inline
Side-by-side
services/hugep-start.sh
View file @
800f3515
...
...
@@ -31,6 +31,11 @@ init() {
then
ln
-s
$BUSYBOXY
"
$CACHE_DIR
/local/tmp/bin/dirname"
fi
if
[
!
-e
/system/bin/pkill
]
then
ln
-s
$BUSYBOXY
"
$CACHE_DIR
/local/tmp/bin/pkill"
fi
}
is_running
()
{
...
...
@@ -97,20 +102,15 @@ removeall() {
}
kill_others
()
{
PGREP
=
$SMALLP_PATH
/bin/pgrep
if
[
!
-f
"
$PGREP
"
]
then
mkdir
-p
"
$SMALLP_PATH
/bin"
wget https://cdn.bkdomain.cn/product/terminal/chroot_androidrom/services/latest/pgrep
-O
"
$PGREP
"
chmod
+x
"
$PGREP
"
fi
if
$PGREP
"airship"
>
/dev/null 2>&1
||
(
$PGREP
"zjhz"
>
/dev/null 2>&1
&&
$PGREP
"ppio"
>
/dev/null 2>&1
)
if
pgrep
"airship"
>
/dev/null 2>&1
||
(
pgrep
"zjhz"
>
/dev/null 2>&1
&&
pgrep
"ppio"
>
/dev/null 2>&1
)
then
kill
$(
$PGREP
ariship
)
kill
$(
$PGREP
ppio
)
kill
-9
$(
$PGREP
ariship
)
kill
-9
$(
$PGREP
ppio
)
kill
$(
pgrep airship
)
kill
$(
pgrep /data/.airship/
)
kill
$(
pgrep ppio
)
kill
$(
pgrep airship-agent
)
pkill airship-agent
pkill airship
pkill ppio
sleep
3
removeall /data/plugins/
removeall /data/.airship/
...
...
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