udev-rules: Pre usrmove systemd installs might not find udevd.
authorColin Guthrie <colin@mageia.org>
Thu, 16 Aug 2012 13:27:22 +0000 (14:27 +0100)
committerHarald Hoyer <harald@redhat.com>
Tue, 21 Aug 2012 16:46:20 +0000 (18:46 +0200)
commitf9452c94c05e505d358329fbb228da7979770c4c
tree0dbb1c804250a48a20c63aae06cde25857696547
parent68c49db95233d03a25b27e01709cd052d60cef7a
udev-rules: Pre usrmove systemd installs might not find udevd.

If users had switched to systemd-183+ but have not completed
the usrmove, then the variable ${systemdutildir} will likely
refer to /usr/lib/systemd NOT /lib/systemd and thus the
systemd-udevd daemon may not be found.

So let's try a little harder and add another hard coded path
and if we don't find it, then bail out hard.
modules.d/95udev-rules/module-setup.sh