commit:     99de14a98649cf119ce220dd1c9fba58b98cb3b2
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  4 19:31:16 2020 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Aug  5 16:12:22 2020 +0000
URL:        
https://gitweb.gentoo.org/proj/udev-gentoo-scripts.git/commit/?id=99de14a9

Allow udevd to be a symlink

As of systemd-246, systemd-udevd is a symlink to udevadm.

Bug: https://bugs.gentoo.org/734950
Reverts: b165050513894b3d600e8302bd68c7ba553fbb04
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 init.d/udev | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/init.d/udev b/init.d/udev
index 4e618ca..6446344 100644
--- a/init.d/udev
+++ b/init.d/udev
@@ -19,7 +19,7 @@ get_udevd_binary() {
        local bins
        bins="/sbin/udevd /lib/systemd/systemd-udevd 
/usr/lib/systemd/systemd-udevd"
        for f in ${bins}; do
-               if [ -x "$f" ] && [ ! -L "$f" ]; then
+               if [ -x "$f" ]; then
                        command="$f"
                fi
        done

Reply via email to