Commit 4cc5a523 authored by marja's avatar marja Committed by Commit bot

Fix usb interface created by Telemetry for RNDIS forwarding.

allow-hotplug instead of auto means that ifupdown won't wait for 2 min for the
interface to come up, but it'll bring it up as soon as it appears.

R=tonyg@chromium.org,fmeawad@chromium.org
BUG=

Review URL: https://codereview.chromium.org/593623002

Cr-Commit-Position: refs/heads/master@{#295999}
parent 59886ae9
...@@ -401,7 +401,7 @@ doit & ...@@ -401,7 +401,7 @@ doit &
subprocess.call(['sudo', '/bin/chmod', '755', interface_conf_dir]) subprocess.call(['sudo', '/bin/chmod', '755', interface_conf_dir])
interface_conf = '\n'.join([ interface_conf = '\n'.join([
'# Added by Telemetry for RNDIS forwarding.', '# Added by Telemetry for RNDIS forwarding.',
'auto %s' % host_iface, 'allow-hotplug %s' % host_iface,
'iface %s inet static' % host_iface, 'iface %s inet static' % host_iface,
' address 192.168.123.1', ' address 192.168.123.1',
' netmask 255.255.255.0', ' netmask 255.255.255.0',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment