mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
udev-test: use passwd instead of machine-id for checks
Much more likely to be present
This commit is contained in:
parent
b2d896f059
commit
f028957745
@ -1980,8 +1980,8 @@ EOF
|
||||
not_exp_links => ["notthere"],
|
||||
}],
|
||||
rules => <<EOF
|
||||
TEST=="/etc/machine-id", SYMLINK+="there"
|
||||
TEST!="/etc/machine-id", SYMLINK+="notthere"
|
||||
TEST=="/etc/passwd", SYMLINK+="there"
|
||||
TEST!="/etc/passwd", SYMLINK+="notthere"
|
||||
EOF
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user