From d82b207b16d6d7d5744e1365c6d00731084cac89 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer 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 a3ae8d04..b02580a3 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