introduce template cond variable enable_sysrq and disable_reboot to control each behavior