Adds a config to optionally hard reboot DD (#33006)

This commit is contained in:
Jordan Brown
2017-11-24 05:53:08 -05:00
committed by Emmett Gaines
parent e449f3cf9d
commit b602495658
3 changed files with 35 additions and 0 deletions
@@ -381,3 +381,7 @@ CONFIG_TWEAK(flag/ValidateAndSet(str_val))
. = ..()
if(. && Master.current_runlevel)
world.sleep_offline = !value
CONFIG_DEF(number/rounds_until_hard_restart)
value = -1
min_val = 0