# this file appened to rcS as needed
mknod /dev/ppp c 108 0
mkdir /tmp/sysfs
mount -t usbfs none /proc/bus/usb
mount -t sysfs none /sys/
cd /dev;mknod ttyUSB0 c 188 0;chmod 666 ttyUSB0;mknod ttyUSB1 c 188 1;chmod 666 ttyUSB1
insmod /lib/modules/usbserial.ko; insmod /lib/modules/option.ko

if [ "`nvram get wan_mode | cut -b 10-10`" = "h"  -a  \
	"`nvram get hsdpa_autoconn | cut -b 16-16`" = "1"  ] 
then

/bin/echo need restart
sleep 5
/usr/sbin/rc wan restart &

else

/bin/echo no need restart

fi




