Commit Graph

6 Commits

Author SHA1 Message Date
Alexander Couzens e38d63e12d bootcycle: add argument value to cmd `inccycle`
value define how much the counter should increased
2015-03-11 16:37:33 +01:00
Alexander Couzens 5fc9ba0246 bootcycle: add resetcycle cmd - reset the bootcycle counter to 0 2015-03-09 15:21:11 +01:00
Alexander Couzens 6ea75b8c9c cmd_bootcycle: initcycle will now set a valid crc 2015-03-04 22:03:45 +01:00
Alexander Couzens 82cfdb43cd cmd_bootcycle: move additonal arguments into long help 2015-03-03 15:45:52 +01:00
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