check for btrfs in /proc/filesystems instead of /proc/modules Signed-off-by: Daniel Golle <daniel@makrotopia.org>
9 lines
145 B
Bash
9 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
|
|
}
|
|
|