
3 changed files with 3 additions and 3 deletions
@ -1,8 +1,8 @@
@@ -1,8 +1,8 @@
|
||||
#!/bin/sh |
||||
|
||||
if udevadm settle --timeout=1 >/dev/null 2>&1; then |
||||
[ -h "$job" ] && rm -f "$job" |
||||
# run dmraid if udev has settled |
||||
dmraid -ay -Z |
||||
[ -e "$job" ] && rm -f "$job" |
||||
fi |
||||
|
||||
|
Loading…
Reference in new issue