gluon/package/gluon-autoupdater/files/usr/lib/autoupdater/upgrade.d/05stop-dropbear
Martin Weinelt 7f19da5a30
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
2020-03-26 23:11:14 +01:00

6 lines
58 B
Bash
Executable File

#!/bin/sh
. /lib/gluon/autoupdater/lib.sh
stop dropbear