system: Fix value of 'EUDEV_RULES_DIRECTORY'.

* gnu/services/base.scm (udev-service): Append "/lib/udev/rules.d" to
  EUDEV_RULES_DIRECTORY.
This commit is contained in:
Ludovic Courtès 2014-09-19 11:58:49 +02:00
parent 516e93f8a6
commit a9eef4d2e5

View file

@ -595,7 +595,8 @@ (define (wait-for-udevd)
;; The first one is for udev, the second one for eudev.
(setenv "UDEV_CONFIG_FILE" #$udev.conf)
(setenv "EUDEV_RULES_DIRECTORY" #$rules)
(setenv "EUDEV_RULES_DIRECTORY"
(string-append #$rules "/lib/udev/rules.d"))
(let ((pid (primitive-fork)))
(case pid