Merge pull request #5184 from daogames/tb/fix-systemd-udev-net-rules

Fix filename for udev network interface rules
This commit is contained in:
lethalman 2014-12-02 10:50:16 +01:00
commit ddeee82b31
2 changed files with 2 additions and 2 deletions

View File

@ -87,8 +87,8 @@ let
grep -l '\(RUN+\|IMPORT{program}\)="\(/usr\)\?/s\?bin' $i/*/udev/rules.d/* || true
done
${optionalString config.networking.usePredictableInterfaceNames ''
cp ${./80-net-name-slot.rules} $out/80-net-name-slot.rules
${optionalString (! config.networking.usePredictableInterfaceNames) ''
cp ${./80-net-setup-link.rules} $out/80-net-setup-link.rules
''}
# If auto-configuration is disabled, then remove