commit 602a247dfdd331be1e00fdcabae393472e63e351
parent ff672d95c22172e3d896548498c674df1e0e4072
Author: Daniel Golle <daniel@makrotopia.org>
Date: Mon, 22 Dec 2014 09:50:06 +0100
btrfs-progs: improve init script
check for btrfs in /proc/filesystems instead of /proc/modules
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/utils/btrfs-progs/Makefile b/utils/btrfs-progs/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=btrfs-progs
PKG_VERSION:=3.17.3
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@KERNEL/linux/kernel/people/kdave/btrfs-progs/
diff --git a/utils/btrfs-progs/files/btrfs-scan.init b/utils/btrfs-progs/files/btrfs-scan.init
@@ -1,9 +1,9 @@
#!/bin/sh /etc/rc.common
-# Copyright (C) 2009 OpenWrt.org
+# Copyright (C) 2014 OpenWrt.org
START=19
start() {
- grep -q btrfs /proc/modules && /usr/bin/btrfs device scan
+ grep -q btrfs /proc/filesystems && /usr/bin/btrfs device scan
}