projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
block-mount: add a delay between sto pand start in fstab init restart action, fixes...
[openwrt.git]
/
package
/
block-mount
/
files
/
fstab.init
diff --git
a/package/block-mount/files/fstab.init
b/package/block-mount/files/fstab.init
index
f54051e
..
4f1f6fb
100644
(file)
--- 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
+}