projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
579238a
)
udev-rules/udev-rules-prepare.sh: get UDEVVERSION, if unset
author
Harald Hoyer
<harald@redhat.com>
Thu, 29 Nov 2012 15:07:15 +0000
(16:07 +0100)
committer
Harald Hoyer
<harald@redhat.com>
Fri, 14 Dec 2012 08:04:56 +0000
(09:04 +0100)
modules.d/95udev-rules/udev-rules-prepare.sh
patch
|
blob
|
history
diff --git
a/modules.d/95udev-rules/udev-rules-prepare.sh
b/modules.d/95udev-rules/udev-rules-prepare.sh
index
08263ea
..
4beefda
100644
(file)
--- a/
modules.d/95udev-rules/udev-rules-prepare.sh
+++ b/
modules.d/95udev-rules/udev-rules-prepare.sh
@@
-2,6
+2,8
@@
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
+[ -z "$UDEVVERSION" ] && export UDEVVERSION=$(udevadm --version)
+
for f in /etc/udev/rules.d/*-persistent-storage.rules; do
[ -e "$f" ] || continue
while read line; do