mirror of
https://github.com/coolsnowwolf/packages.git
synced 2025-05-01 18:52:12 +08:00
10 lines
150 B
Bash
10 lines
150 B
Bash
#!/bin/sh
|
|
|
|
preinit_btrfs_scan() {
|
|
if grep -q btrfs /proc/filesystems; then
|
|
btrfs device scan
|
|
fi
|
|
}
|
|
|
|
boot_hook_add preinit_main preinit_btrfs_scan
|