gluon-autoupdater: stop dropbear before stopping the network

Before active SSH sessions would get stuck, when the network was
suddenly stopped. If we instead stop dropbear before that and allow it
to terminate SSH sessions cleanly we improve the user experience.

Fixes #1957
This commit is contained in:
Martin Weinelt 2020-03-26 23:06:10 +01:00
parent 17db337d95
commit 7f19da5a30
No known key found for this signature in database
GPG Key ID: BD4AA0528F63F17E
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,5 @@
#!/bin/sh
. /lib/gluon/autoupdater/lib.sh
start_enabled dropbear

View File

@ -0,0 +1,5 @@
#!/bin/sh
. /lib/gluon/autoupdater/lib.sh
stop dropbear