Commit Graph

2 Commits

Author SHA1 Message Date
Alexander Couzens 3e2a5a1b67 boot_cycle_counter: add argument `threshold` to checkcycle
Allow to overwrite the default threshold via commandline argument.
e.g. `checkcycle 6` will fail when 6 reboots happened
2015-03-03 14:38:18 +01:00
Alexander Couzens 781503ce81 add bootcycle counter
Introduce 2 new commands.
`inccycle` to increase the bootcycle by one
`checkcycle` to check if bootcycle is reached. Returncode must be evaluated.
2015-03-03 14:38:18 +01:00