Controlling init on shutdown/reboot
Rob
listone at deathbeforedecaf.net
Mon Dec 1 03:32:23 PST 2003
>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 at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"
>
More information about the freebsd-questions
mailing list