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() {
...
@@ -31,6 +31,11 @@ init() {
then
then
ln
-s
$BUSYBOXY
"
$CACHE_DIR
/local/tmp/bin/dirname"
ln
-s
$BUSYBOXY
"
$CACHE_DIR
/local/tmp/bin/dirname"
fi
fi
if
[
!
-e
/system/bin/pkill
]
then
ln
-s
$BUSYBOXY
"
$CACHE_DIR
/local/tmp/bin/pkill"
fi
}
}
is_running
()
{
is_running
()
{
...
@@ -97,20 +102,15 @@ removeall() {
...
@@ -97,20 +102,15 @@ removeall() {
}
}
kill_others
()
{
kill_others
()
{
PGREP
=
$SMALLP_PATH
/bin/pgrep
if
pgrep
"airship"
>
/dev/null 2>&1
||
(
pgrep
"zjhz"
>
/dev/null 2>&1
&&
pgrep
"ppio"
>
/dev/null 2>&1
)
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
)
then
then
kill
$(
$PGREP
ariship
)
kill
$(
pgrep airship
)
kill
$(
$PGREP
ppio
)
kill
$(
pgrep /data/.airship/
)
kill
-9
$(
$PGREP
ariship
)
kill
$(
pgrep ppio
)
kill
-9
$(
$PGREP
ppio
)
kill
$(
pgrep airship-agent
)
pkill airship-agent
pkill airship
pkill ppio
sleep
3
sleep
3
removeall /data/plugins/
removeall /data/plugins/
removeall /data/.airship/
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