This website requires JavaScript.
Explore
Help
Register
Sign In
nils
/
gluon
Watch
1
Star
0
Fork
0
You've already forked gluon
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
4318048aed
gluon
/
package
/
gluon-mesh-batman-adv
/
files
/
usr
/
lib
/
autoupdater
/
upgrade.d
/
10stop-network
9 lines
92 B
Plaintext
Raw
Normal View
History
Unescape
Escape
gluon-mesh-batman-adv-core: stop WLAN and batman-adv before autoupdater upgrades [Matthias Schiffer: - improve commit message - add pidof check - also call `wifi down` ]
2016-07-19 00:53:48 +00:00
#!/bin/sh
. /lib/gluon/autoupdater/lib.sh
wifi down
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`.
2016-07-19 13:48:15 +00:00
sleep 1
gluon-mesh-batman-adv-core: stop WLAN and batman-adv before autoupdater upgrades [Matthias Schiffer: - improve commit message - add pidof check - also call `wifi down` ]
2016-07-19 00:53:48 +00:00
stop network
ip link del bat0
Reference in New Issue
Copy Permalink