summaryrefslogtreecommitdiffstats
path: root/package/block-mount/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/block-mount/files')
-rw-r--r--package/block-mount/files/fstab.init6
1 files changed, 5 insertions, 1 deletions
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
+}