diff --git a/buildroot-external/rootfs-overlay/usr/sbin/hassos-rate b/buildroot-external/rootfs-overlay/usr/sbin/hassos-rate index 4d79724df..79bbe662a 100755 --- a/buildroot-external/rootfs-overlay/usr/sbin/hassos-rate +++ b/buildroot-external/rootfs-overlay/usr/sbin/hassos-rate @@ -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 -