Browse Source

btrfs-progs: Fix init script

the init script calls the old btrfsctl util, which is not included in
btrfs-progs anymore. Update the init script to call "btrfs device scan"
which assembles multi device btrfs filesystems.

Signed-off-by: Stefan Hellermann <stefan@the2masters.de>
lilik-openwrt-22.03
Stefan Hellermann 10 years ago
parent
commit
02f732fb5d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      utils/btrfs-progs/files/btrfs-scan.init

+ 1
- 1
utils/btrfs-progs/files/btrfs-scan.init View File

@ -4,6 +4,6 @@
START=19
start() {
grep -q btrfs /proc/modules && /usr/bin/btrfsctl -a
grep -q btrfs /proc/modules && /usr/bin/btrfs device scan
}

Loading…
Cancel
Save