On 9/30/2024 3:18 AM, Stephane Rochoy wrote:

mike tancsa <m...@sentex.net> writes:

Do you know off hand how to set the system to just reboot ? The ddb man
page seems to imply I need options DDB as well, which is not in GENERIC
in order to set script actions.

I would try the following:

 ddb script kdb.enter.default=reset

If I build a custom kernel then that will work. But with GENERIC (I am tracking project via freebsd-update), it fails

# ddb script kdb.enter.default=reset
ddb: sysctl: debug.ddb.scripting.scripts: No such file or directory

With a customer kernel, adding

options DDB

it works perfectly.

Is there any way to get this to work without having ddb custom compiled in ?

    ---Mike


Regards,

Reply via email to