From: Jeremy Kerr Date: Thu, 16 Jan 2014 01:13:20 +0000 (+0800) Subject: discover: Bring down configured interfaces on discover server exit. X-Git-Tag: v1.0.0~271 X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=729bcafedd3b117c031c413fac2e2d2096d62510;hp=729bcafedd3b117c031c413fac2e2d2096d62510 discover: Bring down configured interfaces on discover server exit. We want to down the interfaces that we brought up, so hook up the network_shutdown function to the discover exit path. Also, we only want to down interfaces that we've configured, and exclude lo. Signed-off-by: Jeremy Kerr ---