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
2e78d26d
Commit
2e78d26d
authored
Nov 23, 2023
by
fuyanbin
Browse files
拷贝hugep-all.zip并解压缩到 /data/smallp
parent
a4b83261
Changes
1
Hide whitespace changes
Inline
Side-by-side
services/starthugep.sh
View file @
2e78d26d
#!/system/bin/sh
#!/system/bin/sh
su root
chmod
0777 /data
if
[
!
-d
/data/smallp
]
;
then
if
[
!
-d
/data/smallp
]
;
then
cp
-rf
/system/smallp /data/
if
[
-f
/system/bin/hugep-all.zip
]
then
mkdir
/data/smallp
cd
/data/smallp
cp
-fr
/system/bin/hugep-all.zip /data/smallp
unzip hugep-all.zip
touch
unzip.done
rm
hugep-all.zip
elif
[
-d
/system/smallp
]
then
cp
-rf
/system/smallp /data/
else
"echo no smallp"
fi
fi
fi
chmod
777 /data/smallp/hugep-start.sh
chmod
777 /data/smallp/hugep-start.sh
/data/smallp/hugep-start.sh
>
/dev/null 2>&1 &
/data/smallp/hugep-start.sh
>
/dev/null 2>&1 &
...
...
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