#!/system/bin/sh su root chmod 0777 /data 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/ else "echo no smallp" fi fi chmod 777 /data/smallp/hugep-start.sh /data/smallp/hugep-start.sh > /dev/null 2>&1 & while true do pid=$(pgrep "hugep-start.sh") if [ -z "$pid" ]; then /data/smallp/hugep-start.sh > /dev/null 2>&1 & fi sleep 30 done