diff options
author | 2020-08-04 15:31:16 -0400 | |
---|---|---|
committer | 2020-08-05 11:12:22 -0500 | |
commit | 99de14a98649cf119ce220dd1c9fba58b98cb3b2 (patch) | |
tree | 52283872a56a20c402665dbff04d7d57fd4fb1f8 | |
parent | init.d/udev: remove the RC variable from the stop function (diff) | |
download | udev-gentoo-scripts-99de14a98649cf119ce220dd1c9fba58b98cb3b2.tar.gz udev-gentoo-scripts-99de14a98649cf119ce220dd1c9fba58b98cb3b2.tar.bz2 udev-gentoo-scripts-99de14a98649cf119ce220dd1c9fba58b98cb3b2.zip |
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@gentoo.org>
-rw-r--r-- | init.d/udev | 2 |
1 files changed, 1 insertions, 1 deletions
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 |