mirror of
https://github.com/openwrt/packages.git
synced 2025-12-20 17:41:20 +00:00
check for btrfs in /proc/filesystems instead of /proc/modules Signed-off-by: Daniel Golle <daniel@makrotopia.org>
10 lines
145 B
Bash
10 lines
145 B
Bash
#!/bin/sh /etc/rc.common
|
|
# Copyright (C) 2014 OpenWrt.org
|
|
|
|
START=19
|
|
|
|
start() {
|
|
grep -q btrfs /proc/filesystems && /usr/bin/btrfs device scan
|
|
}
|
|
|