|
|
|
@ -145,6 +145,7 @@ inst_symlink() {
@@ -145,6 +145,7 @@ inst_symlink() {
|
|
|
|
|
|
|
|
|
|
# find a rule in the usual places. |
|
|
|
|
find_rule() { |
|
|
|
|
[[ -f $1 ]] && { echo "$1"; return 0; } |
|
|
|
|
for r in . /lib/udev/rules.d /etc/udev/rules.d $dsrc/rules.d; do |
|
|
|
|
[[ -f $r/$1 ]] && { echo "$r/$1"; return 0; } |
|
|
|
|
done |
|
|
|
|