Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jun 1999 12:42:39 +0900 (JST)
From:      sanpei@sanpei.org (MIHIRA Yoshiro)
To:        ru@FreeBSD.ORG
Cc:        rustam@eanetways.com, freebsd-bugs@FreeBSD.ORG, sanpei@sanpei.org
Subject:   Re: bin/12093: /sbin/reboot does not run /etc/rc.shutdown during reboot
Message-ID:  <199906100342.MAA17350@lavender.yy.cs.keio.ac.jp>
In-Reply-To: Your message of "Wed, 9 Jun 1999 18:13:41 JST". <199906090913.CAA43156@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
ru@FreeBSD.ORG wrote:

>> Synopsis: /sbin/reboot does not run /etc/rc.shutdown during reboot
>> 
>> State-Changed-From-To: open->closed
>> State-Changed-By: ru
>> State-Changed-When: Wed Jun 9 01:13:34 PDT 1999
>> State-Changed-Why: 
>> Not a bug.
>> init(8) executes rc.shutdown whenever it receives SIGTERM signal.
>> reboot(8) explicitly prevents this by sending init(8) SIGTSTP signal.
>> You can use shutdown(8) to terminate your system gracefully.

  But
	shutdown -h now		--> not execute /etc/rc.shutdown

See also
http://www.freebsd.org/cgi/query-pr.cgi?pr=5451
http://www.freebsd.org/cgi/query-pr.cgi?pr=9066
http://www.freebsd.org/cgi/query-pr.cgi?pr=10035

  I hope to support /etc/rc.shutdown with shutdown -h now and reboot....

  But I do not have enough skill about init and related code...

MIHIRA Sanpei Yoshiro


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906100342.MAA17350>