Add dhcp and renew entries for eth0
Addition aligns flo with other otg supporting Nexus devices. Without the entries, a usb ethernet device will not autoconfigure an ip address. Change-Id: Iefe47a060c263e0319ee909616ad40fdb8c3673e
This commit is contained in:
parent
b151b35f87
commit
19f7ec535a
10
init.flo.rc
10
init.flo.rc
|
@ -435,6 +435,16 @@ service iprenew_bt-pan /system/bin/dhcpcd -n
|
|||
disabled
|
||||
oneshot
|
||||
|
||||
service dhcpcd_eth0 /system/bin/dhcpcd -ABDKL
|
||||
class main
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
service iprenew_eth0 /system/bin/dhcpcd -n
|
||||
class main
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
on property:ro.data.large_tcp_window_size=true
|
||||
# Adjust socket buffer to enlarge TCP receive window for high bandwidth (e.g. DO-RevB)
|
||||
write /proc/sys/net/ipv4/tcp_adv_win_scale 1
|
||||
|
|
Loading…
Reference in New Issue