New supervisor / Adjust rauc handling (#530)

* OS: Update supervisor 194

* Remove old rauc mark code

* OS: Update supervisor 195

* Adjust dockerd
This commit is contained in:
Pascal Vizeli
2020-01-09 23:02:46 +01:00
committed by GitHub
parent 7b379e648c
commit febc4473d3
21 changed files with 18 additions and 69 deletions

View File

@@ -1,28 +0,0 @@
#!/bin/sh
# shellcheck disable=SC2112
set -e
function mark_good() {
rauc status mark-good
exit 0
}
function mark_bad() {
rauc status mark-bad
systemctl reboot
}
#### Check system ####
# Docker state
if systemctl -q is-failed docker; then
mark_bad
fi
# Docker state
if systemctl -q is-failed hassos-supervisor; then
mark_bad
fi
mark_good