From 64fdc0d7ba87f569c9e418477e5fef3829e0759e Mon Sep 17 00:00:00 2001
From: Matthias Schiffer <mschiffer@universe-factory.net>
Date: Tue, 19 Jul 2016 15:48:15 +0200
Subject: [PATCH] gluon-mesh-batman-adv-core: add sleep to autoupdater network
 stop script

Accidentially forgot to commit this. The sleep is necessary so netifd can
actually stop the WLAN interfaces after `wifi down`.
---
 .../files/usr/lib/autoupdater/upgrade.d/10stop-network           | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/gluon-mesh-batman-adv-core/files/usr/lib/autoupdater/upgrade.d/10stop-network b/package/gluon-mesh-batman-adv-core/files/usr/lib/autoupdater/upgrade.d/10stop-network
index a3ae8d040..b02580a32 100755
--- a/package/gluon-mesh-batman-adv-core/files/usr/lib/autoupdater/upgrade.d/10stop-network
+++ b/package/gluon-mesh-batman-adv-core/files/usr/lib/autoupdater/upgrade.d/10stop-network
@@ -3,5 +3,6 @@
 . /lib/gluon/autoupdater/lib.sh
 
 wifi down
+sleep 1
 stop network
 ip link del bat0
-- 
GitLab