Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/udev-gentoo-scripts:master commit in: init.d/
Date: Wed, 05 Aug 2020 16:13:40
Message-Id: 1596643942.99de14a98649cf119ce220dd1c9fba58b98cb3b2.williamh@gentoo
1 commit: 99de14a98649cf119ce220dd1c9fba58b98cb3b2
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 4 19:31:16 2020 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 5 16:12:22 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/udev-gentoo-scripts.git/commit/?id=99de14a9
7
8 Allow udevd to be a symlink
9
10 As of systemd-246, systemd-udevd is a symlink to udevadm.
11
12 Bug: https://bugs.gentoo.org/734950
13 Reverts: b165050513894b3d600e8302bd68c7ba553fbb04
14 Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
15
16 init.d/udev | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19 diff --git a/init.d/udev b/init.d/udev
20 index 4e618ca..6446344 100644
21 --- a/init.d/udev
22 +++ b/init.d/udev
23 @@ -19,7 +19,7 @@ get_udevd_binary() {
24 local bins
25 bins="/sbin/udevd /lib/systemd/systemd-udevd /usr/lib/systemd/systemd-udevd"
26 for f in ${bins}; do
27 - if [ -x "$f" ] && [ ! -L "$f" ]; then
28 + if [ -x "$f" ]; then
29 command="$f"
30 fi
31 done