1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03: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:
jow
2012-12-19 09:41:28 +00:00
parent 1057598fda
commit fb60fbd1a4
2 changed files with 6 additions and 2 deletions

View File

@@ -85,4 +85,8 @@ stop() {
swapoff -a
}
restart() {
stop
sleep 1
start
}