From a97dcc12e486ecff531809802930a26c4da827f2 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Wed, 4 Feb 2015 15:00:20 +0100 Subject: networkd: exit on idle We will be woken up on rtnl or dbus activity, so let's just quit if some time has passed and that is the only thing that can happen. Note that we will always stay around if we expect network activity (e.g. DHCP is enabled), as we are not restarted on that. --- src/import/importd.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/import') diff --git a/src/import/importd.c b/src/import/importd.c index 47157857c8..1222bf3cd2 100644 --- a/src/import/importd.c +++ b/src/import/importd.c @@ -30,6 +30,7 @@ #include "socket-util.h" #include "mkdir.h" #include "import-util.h" +#include "def.h" typedef struct Transfer Transfer; typedef struct Manager Manager; -- cgit v1.2.3-54-g00ecf