3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #38405 from volth/patch-121

network-interfaces-scripted: wlanInterfaces have .device, …
This commit is contained in:
Franz Pletz 2018-04-05 04:45:50 +00:00 committed by GitHub
commit 20ad4be383
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -68,8 +68,7 @@ let
(hasAttr dev cfg.macvlans) ||
(hasAttr dev cfg.sits) ||
(hasAttr dev cfg.vlans) ||
(hasAttr dev cfg.vswitches) ||
(hasAttr dev cfg.wlanInterfaces)
(hasAttr dev cfg.vswitches)
then [ "${dev}-netdev.service" ]
else optional (dev != null && dev != "lo" && !config.boot.isContainer) (subsystemDevice dev);