network-interfaces-scripted: wlanInterfaces have .device, no "${dev}-netdev.service"
This commit is contained in:
parent
cc1d4addc5
commit
dd9f776509
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue