From 40d89c49777081ea88818610a575813d8a08e5c5 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Mon, 23 Jun 2014 10:00:07 +0200 Subject: [PATCH] ifup: Add comment why xxx-discover files have to be skipped Signed-off-by: Sascha Hauer --- net/ifup.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/net/ifup.c b/net/ifup.c index de0c5f8a3..adab683e9 100644 --- a/net/ifup.c +++ b/net/ifup.c @@ -136,6 +136,11 @@ int ifup_all(unsigned flags) while ((d = readdir(dir))) { if (*d->d_name == '.') continue; + /* + * Skip xxx-discover files since these are no + * network configuration files, but scripts to bring + * up network interface xxx. + */ if (strstr(d->d_name, "-discover")) continue; ifup(d->d_name, flags);