summaryrefslogtreecommitdiff
path: root/core/btrfs-progs/initcpio-hook-btrfs
diff options
context:
space:
mode:
Diffstat (limited to 'core/btrfs-progs/initcpio-hook-btrfs')
-rw-r--r--core/btrfs-progs/initcpio-hook-btrfs5
1 files changed, 1 insertions, 4 deletions
diff --git a/core/btrfs-progs/initcpio-hook-btrfs b/core/btrfs-progs/initcpio-hook-btrfs
index 913cec528..7965d0a8a 100644
--- a/core/btrfs-progs/initcpio-hook-btrfs
+++ b/core/btrfs-progs/initcpio-hook-btrfs
@@ -1,10 +1,7 @@
#!/usr/bin/ash
run_hook() {
- # if udevd is running, this is done async by add/change events
- if [ "$udevd_running" -ne 1 ]; then
- btrfs device scan
- fi
+ btrfs device scan
}
# vim: set ft=sh ts=4 sw=4 et: