Comment 24 for bug 1587808

Revision history for this message
Tony Espy (awe) wrote :

The attached script prevents the route flush from occurring when the hostname is set.

This script is owned by lxc-android-config, so I'll add a new task to the bug.

Note, we may even want to make additional changes to that this script doesn't flush then routing table on VPN events. I made an attempt to do this ( ie. added an additional check for the prefix "vpn-" when checking $status ), but was having trouble getting it working. The attached change just prevents it from running when the hostname is set, which is what's causing the emulator regression.