Reboot after mark partition as bad

This commit is contained in:
Pascal Vizeli
2018-06-16 22:24:36 +02:00
committed by GitHub
parent 49df049f2c
commit 1a3d063fec

View File

@@ -9,9 +9,11 @@ function mark_good() {
function mark_bad() {
rauc status mark-bad
exit 0
systemctl reboot
}
#### Check system ####
# Docker state
if ! systemctl -q is-active docker; then
mark_bad
@@ -23,4 +25,3 @@ if ! systemctl -q is-active hassos-supervisor; then
fi
mark_good