From owner-freebsd-questions@FreeBSD.ORG Mon Dec 1 03:32:23 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40B8F16A4CE for ; Mon, 1 Dec 2003 03:32:23 -0800 (PST) Received: from zim.0x7e.net (zim.0x7e.net [203.38.184.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F9BC43F75 for ; Mon, 1 Dec 2003 03:32:22 -0800 (PST) (envelope-from listone@deathbeforedecaf.net) Received: from goo.0x7e.net ([203.38.184.164] helo=goo) by zim.0x7e.net with smtp (Exim 3.36 #1) id 1AQmHp-0004WW-00; Mon, 01 Dec 2003 22:02:17 +1030 Message-ID: <007201c3b7fe$c6635280$a4b826cb@goo> From: "Rob" To: , "FreeBSD Questions" References: <3FCB1B0C.6080902@pacbell.net> Date: Mon, 1 Dec 2003 22:02:16 +1030 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4927.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 Subject: Re: Controlling init on shutdown/reboot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2003 11:32:23 -0000 >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" 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" >