summaryrefslogtreecommitdiff
path: root/mount-data
diff options
context:
space:
mode:
Diffstat (limited to 'mount-data')
-rw-r--r--mount-data/Makefile2
-rwxr-xr-xmount-data/files/init1
2 files changed, 2 insertions, 1 deletions
diff --git a/mount-data/Makefile b/mount-data/Makefile
index 69f082b..6fc688c 100644
--- a/mount-data/Makefile
+++ b/mount-data/Makefile
@@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=mount-data
-PKG_VERSION:=1.0.1
+PKG_VERSION:=1.0.2
PKG_MAINTAINER:=Karel Kočí <cynerd@email.cz>
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
diff --git a/mount-data/files/init b/mount-data/files/init
index c9706f5..700ea40 100755
--- a/mount-data/files/init
+++ b/mount-data/files/init
@@ -37,6 +37,7 @@ status() {
start() {
is_open a || open a /dev/sda
is_open b || open b /dev/sdb
+ btrfs device scan /dev/mapper/data_a /dev/mapper/data_b
is_mounted "/data" || mount_btrfs @data /data
is_mounted "/srv" || mount_btrfs @srv /srv
}