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

This reverts commit ddeee82b31, reversing
changes made to 75ead8812b.
This commit is contained in:
Luca Bruno 2014-12-02 10:54:48 +01:00
parent ddeee82b31
commit 41cb91a4fd
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-setup-link.rules} $out/80-net-setup-link.rules
${optionalString config.networking.usePredictableInterfaceNames ''
cp ${./80-net-name-slot.rules} $out/80-net-name-slot.rules
''}
# If auto-configuration is disabled, then remove