summaryrefslogtreecommitdiffstats
path: root/package/block-mount
diff options
context:
space:
mode:
Diffstat (limited to 'package/block-mount')
-rw-r--r--package/block-mount/Makefile2
-rw-r--r--package/block-mount/files/fstab.init6
2 files changed, 6 insertions, 2 deletions
diff --git a/package/block-mount/Makefile b/package/block-mount/Makefile
index 799539e4b..06deb9401 100644
--- a/package/block-mount/Makefile
+++ b/package/block-mount/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=block-mount
PKG_VERSION:=0.2.0
-PKG_RELEASE:=9
+PKG_RELEASE:=10
include $(INCLUDE_DIR)/package.mk
diff --git a/package/block-mount/files/fstab.init b/package/block-mount/files/fstab.init
index f54051ebb..4f1f6fb7a 100644
--- a/package/block-mount/files/fstab.init
+++ b/package/block-mount/files/fstab.init
@@ -85,4 +85,8 @@ stop() {
swapoff -a
}
-
+restart() {
+ stop
+ sleep 1
+ start
+}