mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 21:37:10 +02:00
block-mount: add a delay between sto pand start in fstab init restart action, fixes a lock race condition observed in VirtualBox
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34784 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
1057598fda
commit
fb60fbd1a4
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=block-mount
|
PKG_NAME:=block-mount
|
||||||
PKG_VERSION:=0.2.0
|
PKG_VERSION:=0.2.0
|
||||||
PKG_RELEASE:=9
|
PKG_RELEASE:=10
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
@ -85,4 +85,8 @@ stop() {
|
|||||||
swapoff -a
|
swapoff -a
|
||||||
}
|
}
|
||||||
|
|
||||||
|
restart() {
|
||||||
|
stop
|
||||||
|
sleep 1
|
||||||
|
start
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user