Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Dec 2003 22:02:16 +1030
From:      "Rob" <listone@deathbeforedecaf.net>
To:        <dcrudy@pacbell.net>, "FreeBSD Questions" <freebsd-questions@freebsd.org>
Subject:   Re: Controlling init on shutdown/reboot
Message-ID:  <007201c3b7fe$c6635280$a4b826cb@goo>
References:  <3FCB1B0C.6080902@pacbell.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>From line 99 of /usr/src/sbin/init/init.c,

  #define DEATH_SCRIPT  120  /* wait for 2min for /etc/rc.shutdown */

and on line 1576 it looks like you can change this with the sysctl
'kern.shutdown_timeout'.

But 2 minutes is a long time for a shell script - are you sure that
everything is working correctly?

----- Original Message -----
From: "Daniel Rudy" <dcrudy@pacbell.net>
Subject: Controlling init on shutdown/reboot


> Hello,
>
> How does one allocate more time for /etc/rc.shutdown?  It seems that
> some of my scripts are not being executed when the system shuts down or
> reboots.
>
> --
> Daniel Rudy
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?007201c3b7fe$c6635280$a4b826cb>