#!/bin/bash
# cp file from A place to tftp
cp -a /home/freeman/111.2.1.148/luke/UBEE_D3_CableRG/build/dgwsdk/images/dgwsdk-3.0.0.125-120301.img /home/freeman/tftpboot/
chmod 777 ./dgwsdk-3.0.0.125-120207.img
# change ifconfig eth0 IP address
sudo ifconfig eth1 192.168.100.2
ifconfig
sleep 1
#use xdotool finish download code into board
xdotool key alt+1
xdotool type 'set UBFINAME1 dgwsdk-3.0.0.125-120301.img'
xdotool key 'Return'
xdotool type 'run update1'
xdotool key 'Return'
2012年2月6日 星期一
訂閱:
張貼留言 (Atom)
0 意見:
張貼留言