blob: a47ac157943c0a19c1c8ebba18b22a65f25c277c [file] [log] [blame]
# Check if WiFi is enabled. If it is run the WiFi init script. If not we just
# have to run the DHCP client in the default namespace and that will set up
# all the networking.
wifi=`getprop ro.kernel.qemu.wifi`
case "$wifi" in
1) /vendor/bin/
*) setprop ctl.start dhcpclient_def
# set up the second interface (for inter-emulator connections)
# if required
my_ip=`getprop net.shared_net_ip`
case "$my_ip" in
*) ifconfig eth1 "$my_ip" netmask up