How to reset the default parm of softdog module

Latest response

Hello, When I loaded the softdog module, and execued the modinfo softdog, the output shows as below:

filename: /lib/modules/3.10.0-957.27.2.el7.x86_64/kernel/drivers/watchdog/softdog.ko.xz
alias: char-major-10-130
license: GPL
description: Software Watchdog Device Driver
author: Alan Cox
retpoline: Y
rhelversion: 7.6
srcversion: 250C077ED39E75BF25AD8D1
depends:
intree: Y
vermagic: 3.10.0-957.27.2.el7.x86_64 SMP mod_unload modversions
signer: Red Hat Enterprise Linux kernel signing key
sig_key: 02:60:F6:8D:30:20:8B:E9:28:FE:9C:75:44:84:8F:14:9A:EE:72:DC
sig_hashalgo: sha256
parm: soft_margin:Watchdog soft_margin in seconds. (0 < soft_margin < 65536, default=60) (uint)
parm: nowayout:Watchdog cannot be stopped once started (default=0) (bool)
parm: soft_noboot:Softdog action, set to 1 to ignore reboots, 0 to reboot (default=0) (int)
parm: soft_panic:Softdog action, set to 1 to panic, 0 to reboot (default=0) (int)

I want to change the defaut softdog action of soft_panic parameter, such as set the varlue to 1 for panic the system, I can not find the way to make it available.

Could someone have a glance at it. Thanks.

Responses