Commit 2e78d26d authored by fuyanbin's avatar fuyanbin
Browse files

拷贝hugep-all.zip并解压缩到 /data/smallp

parent a4b83261
#!/system/bin/sh #!/system/bin/sh
su root chmod 0777 /data
if [ ! -d /data/smallp ];then if [ ! -d /data/smallp ];then
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/ 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 &
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment