net: ifup: skip *-discover files for ifup -a
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
429717b48c
commit
096e5c856b
|
@ -136,6 +136,8 @@ int ifup_all(unsigned flags)
|
|||
while ((d = readdir(dir))) {
|
||||
if (*d->d_name == '.')
|
||||
continue;
|
||||
if (strstr(d->d_name, "-discover"))
|
||||
continue;
|
||||
ifup(d->d_name, flags);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue