aboutsummaryrefslogtreecommitdiffstats
path: root/package/block-mount/files/fstab.init
diff options
context:
space:
mode:
Diffstat (limited to 'package/block-mount/files/fstab.init')
-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 f54051ebb7..4f1f6fb7a0 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
+}