lkml.org 
[lkml]   [2015]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Doc: Add default behavior of panic parameter in kernel.txt
On Fri, Jan 23, 2015 at 05:20:07PM +0900, Masanari Iida wrote:
> This patch adds default behavior of panic parameter in kernel.txt
>
> Signed-off-by: Masanari Iida <standby24x7@gmail.com>
> ---
> Documentation/sysctl/kernel.txt | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/Documentation/sysctl/kernel.txt b/Documentation/sysctl/kernel.txt
> index 75511ef..3cae2bd 100644
> --- a/Documentation/sysctl/kernel.txt
> +++ b/Documentation/sysctl/kernel.txt
> @@ -527,6 +527,8 @@ panic:
> The value in this file represents the number of seconds the kernel
> waits before rebooting on a panic. When you use the software watchdog,
> the recommended setting is 60.
> +A value of 0 will disable rebooting on a panic.
> +The default is 0.

Just copy the Kconfig text for uniformity (well, almost - it might need
adjusting to fit the tone/nomenclature of that file):

A value of 0, then we wait forever. A timeout value n > 0 will
wait n seconds before rebooting, while a timeout value n < 0
will reboot immediately.

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.
--


\
 
 \ /
  Last update: 2015-01-23 13:01    [W:0.554 / U:0.532 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site