[Feature][T106_eSDK]update from T106-V2.01.01.02P56U06.AP.15.11_CAP.15.11.01 to T106-V2.01.01.02P56U09.AP.17.02_CAP.17.02.02 -- patch
Only Configure: No
Affected branch: master
Affected module: unknow
Is it affected on both ZXIC and MTK: only ZXIC
Self-test: Yes
Doc Update: No
Change-Id: Ic7183ee7e5a24ab23cd725f8b630385ea268cc1b
diff --git a/patch/15.11_17.02/rootfs/old/sbin/badblocks b/patch/15.11_17.02/rootfs/old/sbin/badblocks
new file mode 100755
index 0000000..e31657d
--- /dev/null
+++ b/patch/15.11_17.02/rootfs/old/sbin/badblocks
Binary files differ
diff --git a/patch/15.11_17.02/rootfs/old/sbin/bridge b/patch/15.11_17.02/rootfs/old/sbin/bridge
new file mode 100755
index 0000000..25c2a25
--- /dev/null
+++ b/patch/15.11_17.02/rootfs/old/sbin/bridge
Binary files differ
diff --git a/patch/15.11_17.02/rootfs/old/sbin/debugfs b/patch/15.11_17.02/rootfs/old/sbin/debugfs
new file mode 100755
index 0000000..f6a620e
--- /dev/null
+++ b/patch/15.11_17.02/rootfs/old/sbin/debugfs
Binary files differ
diff --git a/patch/15.11_17.02/rootfs/old/sbin/dumpe2fs b/patch/15.11_17.02/rootfs/old/sbin/dumpe2fs
new file mode 100755
index 0000000..fc6871d
--- /dev/null
+++ b/patch/15.11_17.02/rootfs/old/sbin/dumpe2fs
Binary files differ
diff --git a/patch/15.11_17.02/rootfs/old/sbin/e2freefrag b/patch/15.11_17.02/rootfs/old/sbin/e2freefrag
new file mode 100755
index 0000000..45f0753
--- /dev/null
+++ b/patch/15.11_17.02/rootfs/old/sbin/e2freefrag
Binary files differ
diff --git a/patch/15.11_17.02/rootfs/old/sbin/e2fsck b/patch/15.11_17.02/rootfs/old/sbin/e2fsck
new file mode 100755
index 0000000..8a7fc05
--- /dev/null
+++ b/patch/15.11_17.02/rootfs/old/sbin/e2fsck
Binary files differ
diff --git a/patch/15.11_17.02/rootfs/old/sbin/e2image b/patch/15.11_17.02/rootfs/old/sbin/e2image
new file mode 100755
index 0000000..33f8892
--- /dev/null
+++ b/patch/15.11_17.02/rootfs/old/sbin/e2image
Binary files differ
diff --git a/patch/15.11_17.02/rootfs/old/sbin/e2mmpstatus b/patch/15.11_17.02/rootfs/old/sbin/e2mmpstatus
new file mode 100755
index 0000000..fc6871d
--- /dev/null
+++ b/patch/15.11_17.02/rootfs/old/sbin/e2mmpstatus
Binary files differ
diff --git a/patch/15.11_17.02/rootfs/old/sbin/e2undo b/patch/15.11_17.02/rootfs/old/sbin/e2undo
new file mode 100755
index 0000000..4cfb1c8
--- /dev/null
+++ b/patch/15.11_17.02/rootfs/old/sbin/e2undo
Binary files differ
diff --git a/patch/15.11_17.02/rootfs/old/sbin/e4crypt b/patch/15.11_17.02/rootfs/old/sbin/e4crypt
new file mode 100755
index 0000000..1197ed7
--- /dev/null
+++ b/patch/15.11_17.02/rootfs/old/sbin/e4crypt
Binary files differ
diff --git a/patch/15.11_17.02/rootfs/old/sbin/e4defrag b/patch/15.11_17.02/rootfs/old/sbin/e4defrag
new file mode 100755
index 0000000..5b62687
--- /dev/null
+++ b/patch/15.11_17.02/rootfs/old/sbin/e4defrag
Binary files differ
diff --git a/patch/15.11_17.02/rootfs/old/sbin/fdisk_emmc.sh b/patch/15.11_17.02/rootfs/old/sbin/fdisk_emmc.sh
new file mode 100755
index 0000000..492f934
--- /dev/null
+++ b/patch/15.11_17.02/rootfs/old/sbin/fdisk_emmc.sh
@@ -0,0 +1,37 @@
+#!/bin/sh
+
+fdisk /dev/mmcblk1 <<EOF
+d
+5
+d
+4
+d
+3
+d
+2
+d
+1
+n
+p
+1
+
++200M
+n
+p
+2
+
++2048M
+n
+p
+3
+
++2048M
+n
+e
+
+
+n
+
+
+w
+EOF
\ No newline at end of file
diff --git a/patch/15.11_17.02/rootfs/old/sbin/filefrag b/patch/15.11_17.02/rootfs/old/sbin/filefrag
new file mode 100755
index 0000000..0221083
--- /dev/null
+++ b/patch/15.11_17.02/rootfs/old/sbin/filefrag
Binary files differ
diff --git a/patch/15.11_17.02/rootfs/old/sbin/fsck.ext2 b/patch/15.11_17.02/rootfs/old/sbin/fsck.ext2
new file mode 100755
index 0000000..8a7fc05
--- /dev/null
+++ b/patch/15.11_17.02/rootfs/old/sbin/fsck.ext2
Binary files differ
diff --git a/patch/15.11_17.02/rootfs/old/sbin/fsck.ext3 b/patch/15.11_17.02/rootfs/old/sbin/fsck.ext3
new file mode 100755
index 0000000..8a7fc05
--- /dev/null
+++ b/patch/15.11_17.02/rootfs/old/sbin/fsck.ext3
Binary files differ
diff --git a/patch/15.11_17.02/rootfs/old/sbin/fsck.ext4 b/patch/15.11_17.02/rootfs/old/sbin/fsck.ext4
new file mode 100755
index 0000000..8a7fc05
--- /dev/null
+++ b/patch/15.11_17.02/rootfs/old/sbin/fsck.ext4
Binary files differ
diff --git a/patch/15.11_17.02/rootfs/old/sbin/internet.sh b/patch/15.11_17.02/rootfs/old/sbin/internet.sh
new file mode 100755
index 0000000..3cde326
--- /dev/null
+++ b/patch/15.11_17.02/rootfs/old/sbin/internet.sh
@@ -0,0 +1,34 @@
+#!/bin/sh
+#
+# internet.sh,v 10.08.05 2010-08-05 15:00:00
+#
+# usage: internet.sh
+#
+path_sh=`nv get path_sh`
+. $path_sh/global.sh
+echo "Info: internet.sh start" > $test_log
+echo "Info: `date +%m-%d %H:%M:%S`" >> $test_log
+
+echo 7200 > /proc/sys/net/netfilter/nf_conntrack_tcp_timeout_established
+
+#½«br_name,usblan_name´«¸øÄÚºËʵÏÖÆ½Ì¨»¯
+fast_usb=`nv get fast_usb`
+
+echo $lan_if > /proc/net/br_name
+
+echo $fast_usb > /proc/net/usb_name
+
+echo "" > /etc/resolv.conf
+
+#br0´î½¨£¬¼°ÄÚÍødhcp
+sh $path_sh/lan.sh
+
+#½«¿ìËÙת·¢¼¶±ð´«¸øÄÚºË
+fastnat_level=`nv get fastnat_level`
+echo "Info: set fastnat_level£º$fastnat_level" >> $test_log
+echo $fastnat_level > /proc/net/fastnat_level
+
+#½«²»Ö§³Ö¿ìËÙת·¢µÄÐÒé¶Ë¿ÚºÅ´«¸øÄÚºË
+nofast_port=`nv get nofast_port`
+echo "Info: set nofast_port£º$nofast_port" >> $test_log
+echo $nofast_port > /proc/net/nofast_port
diff --git a/patch/15.11_17.02/rootfs/old/sbin/ip.iproute2 b/patch/15.11_17.02/rootfs/old/sbin/ip.iproute2
new file mode 100755
index 0000000..8f988dd
--- /dev/null
+++ b/patch/15.11_17.02/rootfs/old/sbin/ip.iproute2
Binary files differ
diff --git a/patch/15.11_17.02/rootfs/old/sbin/lan.sh b/patch/15.11_17.02/rootfs/old/sbin/lan.sh
new file mode 100755
index 0000000..7303069
--- /dev/null
+++ b/patch/15.11_17.02/rootfs/old/sbin/lan.sh
@@ -0,0 +1,121 @@
+#!/bin/sh
+#
+# $Id: lan.sh
+#
+path_sh=`nv get path_sh`
+. $path_sh/global.sh
+
+br_set()
+{
+ br_name=$lan_if_cap
+
+ #ÉèÖÃÍøÇÅ
+ killall -9 udhcpd
+ echo "ifconfig $br_name start...................."
+ ifconfig $br_name down
+ brctl delbr $br_name
+ brctl addbr $br_name 2>>$test_log
+ if [ $? -ne 0 ];then
+ echo "Error: brctl addbr $br_name failed." >> $test_log
+ fi
+ brctl setfd $br_name 0.1 2>>$test_log
+ if [ $? -ne 0 ];then
+ echo "Error: brctl setfd $br_name 0.1 failed." >> $test_log
+ fi
+ ifconfig lo up 2>>$test_log
+ if [ $? -ne 0 ];then
+ echo "Error: ifconfig lo up failed." >> $test_log
+ fi
+ ifconfig $br_name up 2>>$test_log
+ if [ $? -ne 0 ];then
+ echo "Error: ifconfig $br_name up failed." >> $test_log
+ fi
+
+ #´ò¿ªÍøÇŵØÖ·¸Ä±ä֪ͨµÄ¿ª¹Ø
+ echo 1 > /proc/sys/net/ipv4/conf/$br_name/arp_notify
+ prj=`cat /sys/gmac/gmacconfig/type`
+ if [ "$prj" == "cpe" ]; then
+ ifconfig eth0 up 2>>$test_log
+ brctl addif $br_name eth0 2>>$test_log
+ fi
+ br_node=`nv get br_node_cap`
+
+ #analysis br_node ex: usb0+wifi0+¡
+ IFS_OLD=$IFS
+ IFS="+"
+ for device in $br_node
+ do
+ ifconfig $device up
+
+ brctl addif $br_name $device 2>>$test_log
+ if [ $? -ne 0 ];then
+ echo "Error: brctl addif $br_name $device failed." >> $test_log
+ fi
+ done
+ IFS=$IFS_OLD
+}
+
+lan_set()
+{
+ ip=`nv get lan_ipaddr_cap`
+ nm=`nv get lan_netmask_cap`
+ ifconfig $lan_if_cap $ip netmask $nm 2>>$test_log
+ if [ $? -ne 0 ];then
+ echo "Error: ifconfig $lan_if_cap $ip netmask $nm failed." >> $test_log
+ fi
+
+ webv6_enable=`nv get webv6_enable`
+ ipv6=`nv get lan_ipv6addr_cap`
+ if [ "x$webv6_enable" == "x1" ]; then
+ ifconfig $lan_if_cap $ipv6/64
+ if [ $? -ne 0 ];then
+ echo "Error: ifconfig $lan_if_cap $ipv6 failed." >> $test_log
+ fi
+ fi
+}
+
+main()
+{
+ lan_enable=`nv get LanEnable_cap`
+ if [ "x$lan_enable" == "x0" ]; then
+ exit 0
+ fi
+
+ echo "Info: lan.sh start" >> $test_log
+
+ if [ "x$lan_enable" == "x1" ]; then
+ br_set
+ fi
+
+ if [ "x$lan_if_cap" != "x" ]; then
+ lan_set
+ fi
+
+ dhcps_in_cap=`nv get dhcps_in_cap`
+
+ if [ "x$dhcps_in_cap" == "x1" ]; then
+ echo "" > $path_conf/udhcpd.leases
+
+ . $path_sh/user-config-udhcpd.sh
+
+ dhcp=`nv get dhcpEnabled`
+ if [ "$dhcp" == "1" ]; then
+ echo "Info: config-udhcpd.sh lan -r 1 start" >> $test_log
+ . $path_sh/config-udhcpd.sh "lan" -r 1
+ fi
+ fi
+ dnsmasq -i $lan_if_cap -r $path_conf/resolv.conf &
+ gw_in_cap=`nv get gw_in_cap`
+ if [ "x$gw_in_cap" != "x1" ]; then
+ ap_ip=`nv get lan_ipaddr`
+ ap_ipv6=`nv get lan_ipv6addr`
+
+ ip route add default via $ap_ip
+ ip -6 route add default via $ap_ipv6 dev $lan_if_cap
+ echo "nameserver $ap_ip" >> /etc/resolv.conf
+ else
+ echo 1 > /proc/net/ct_iptables_syn
+ fi
+}
+
+main
diff --git a/patch/15.11_17.02/rootfs/old/sbin/ldconfig b/patch/15.11_17.02/rootfs/old/sbin/ldconfig
new file mode 100755
index 0000000..472415e
--- /dev/null
+++ b/patch/15.11_17.02/rootfs/old/sbin/ldconfig
Binary files differ
diff --git a/patch/15.11_17.02/rootfs/old/sbin/logsave b/patch/15.11_17.02/rootfs/old/sbin/logsave
new file mode 100755
index 0000000..4ae3576
--- /dev/null
+++ b/patch/15.11_17.02/rootfs/old/sbin/logsave
Binary files differ
diff --git a/patch/15.11_17.02/rootfs/old/sbin/mke2fs.e2fsprogs b/patch/15.11_17.02/rootfs/old/sbin/mke2fs.e2fsprogs
new file mode 100755
index 0000000..a61a52e
--- /dev/null
+++ b/patch/15.11_17.02/rootfs/old/sbin/mke2fs.e2fsprogs
Binary files differ
diff --git a/patch/15.11_17.02/rootfs/old/sbin/mkfs.ext2.e2fsprogs b/patch/15.11_17.02/rootfs/old/sbin/mkfs.ext2.e2fsprogs
new file mode 100755
index 0000000..a61a52e
--- /dev/null
+++ b/patch/15.11_17.02/rootfs/old/sbin/mkfs.ext2.e2fsprogs
Binary files differ
diff --git a/patch/15.11_17.02/rootfs/old/sbin/mkfs.ext3 b/patch/15.11_17.02/rootfs/old/sbin/mkfs.ext3
new file mode 100755
index 0000000..a61a52e
--- /dev/null
+++ b/patch/15.11_17.02/rootfs/old/sbin/mkfs.ext3
Binary files differ
diff --git a/patch/15.11_17.02/rootfs/old/sbin/mkfs.ext4 b/patch/15.11_17.02/rootfs/old/sbin/mkfs.ext4
new file mode 100755
index 0000000..a61a52e
--- /dev/null
+++ b/patch/15.11_17.02/rootfs/old/sbin/mkfs.ext4
Binary files differ
diff --git a/patch/15.11_17.02/rootfs/old/sbin/mklost+found b/patch/15.11_17.02/rootfs/old/sbin/mklost+found
new file mode 100755
index 0000000..df21ade
--- /dev/null
+++ b/patch/15.11_17.02/rootfs/old/sbin/mklost+found
Binary files differ
diff --git a/patch/15.11_17.02/rootfs/old/sbin/restorecon_xattr b/patch/15.11_17.02/rootfs/old/sbin/restorecon_xattr
new file mode 100755
index 0000000..f2b8889
--- /dev/null
+++ b/patch/15.11_17.02/rootfs/old/sbin/restorecon_xattr
Binary files differ
diff --git a/patch/15.11_17.02/rootfs/old/sbin/rtmon b/patch/15.11_17.02/rootfs/old/sbin/rtmon
new file mode 100755
index 0000000..b8cbaf4
--- /dev/null
+++ b/patch/15.11_17.02/rootfs/old/sbin/rtmon
Binary files differ
diff --git a/patch/15.11_17.02/rootfs/old/sbin/setfiles b/patch/15.11_17.02/rootfs/old/sbin/setfiles
new file mode 100755
index 0000000..fd36ab7
--- /dev/null
+++ b/patch/15.11_17.02/rootfs/old/sbin/setfiles
Binary files differ
diff --git a/patch/15.11_17.02/rootfs/old/sbin/sulogin.util-linux b/patch/15.11_17.02/rootfs/old/sbin/sulogin.util-linux
new file mode 100755
index 0000000..86b9d8e
--- /dev/null
+++ b/patch/15.11_17.02/rootfs/old/sbin/sulogin.util-linux
Binary files differ
diff --git a/patch/15.11_17.02/rootfs/old/sbin/vigr.shadow b/patch/15.11_17.02/rootfs/old/sbin/vigr.shadow
new file mode 100755
index 0000000..e7f02da
--- /dev/null
+++ b/patch/15.11_17.02/rootfs/old/sbin/vigr.shadow
Binary files differ
diff --git a/patch/15.11_17.02/rootfs/old/sbin/vipw.shadow b/patch/15.11_17.02/rootfs/old/sbin/vipw.shadow
new file mode 100755
index 0000000..e7f02da
--- /dev/null
+++ b/patch/15.11_17.02/rootfs/old/sbin/vipw.shadow
Binary files differ