1 #!/system/bin/sh 2 3 # Enable IP forwarding so the Wrigley can talk to diagnostics utilities 4 # running on an attached host machine (typically Windows). 5 echo 1 > /proc/sys/net/ipv4/ip_forward 6 # We must also set ro.allow.ip.fwd=1 to prevent 7 # system/netd/TetherController.cpp from setting this back to 0. 8 setprop ro.allow.ip.fwd 1 9