Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jun 1999 12:57:57 +0200
From:      Ladavac Marino <mladavac@metropolitan.at>
To:        'Gong Wei' <ccegongw@nus.edu.sg>, "'aphor@ripco.NOSPAM.com'" <aphor@ripco.NOSPAM.com>
Cc:        'Matt Behrens' <matt@zigg.com>, 'Alan Edmonds' <alan.edmonds@sterling.com>, "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   RE: *BSD init scripts
Message-ID:  <55586E7391ACD211B9730000C110027617966B@r-lmh-wi-100.corpnet.at>

next in thread | raw e-mail | index | archive | help
> -----Original Message-----
> From:	Gong Wei [SMTP:ccegongw@nus.edu.sg]
> Sent:	Tuesday, June 15, 1999 12:54 PM
> To:	'aphor@ripco.NOSPAM.com'
> Cc:	'Matt Behrens'; 'Alan Edmonds'; 'freebsd-questions@freebsd.org'
> Subject:	RE: *BSD init scripts
> 
> So, it seems that "reboot" or "shutdown -r now" or "shutdown -h now"
> doesn't
> send an "INT" signal to init.  At least my observation is that none of
> the
> three mentioned commands triggered the /etc/rc.shutdown script.
> 
	[ML]  Even in SYSV world, reboot(8) is documented as a fast
reboot without running any shutdown scripts.  It is intended for those
cases when root did rm -rf * in /.

	shutdown, however, should run them, but it still may behave like
init 6 (sorry, cannot check this, I only have an AIX box around, and
that one is hardly authoritative--i.e. runlevels, but no rc.d)

	/Marino
> Thanks to all replied and hopefully this email could be useful for
> someone
> out there ...
> 
> 


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




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