starthugep.sh 280 Bytes
Newer Older
fuyanbin's avatar
fuyanbin committed
1
2
3
4
5
6
7
8
9
10
11
12
#!/system/bin/sh
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