block-mount: add a delay between sto pand start in fstab init restart action, fixes...
[openwrt/svn-archive/archive.git] / package / block-mount / files / fstab.init
index f54051ebb7f06c0ceebf8f09a77007778ff51b21..4f1f6fb7a097fb9d416cf5d32b379448ac70633c 100644 (file)
@@ -85,4 +85,8 @@ stop() {
        swapoff -a
 }
 
-
+restart() {
+       stop
+       sleep 1
+       start
+}