mirror of
https://github.com/openwrt/packages.git
synced 2025-12-20 17:41:20 +00:00
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>
10 lines
141 B
Bash
10 lines
141 B
Bash
#!/bin/sh /etc/rc.common
|
|
# Copyright (C) 2009 OpenWrt.org
|
|
|
|
START=19
|
|
|
|
start() {
|
|
grep -q btrfs /proc/modules && /usr/bin/btrfs device scan
|
|
}
|
|
|