From owner-freebsd-questions Tue Jun 15 4: 0:41 1999 Delivered-To: freebsd-questions@freebsd.org Received: from titan.metropolitan.at (mail.metropolitan.at [195.212.98.131]) by hub.freebsd.org (Postfix) with ESMTP id F168414C3B for ; Tue, 15 Jun 1999 04:00:30 -0700 (PDT) (envelope-from mladavac@metropolitan.at) Received: by TITAN with Internet Mail Service (5.0.1458.49) id ; Tue, 15 Jun 1999 13:03:29 +0200 Message-ID: <55586E7391ACD211B9730000C110027617966B@r-lmh-wi-100.corpnet.at> From: Ladavac Marino To: 'Gong Wei' , "'aphor@ripco.NOSPAM.com'" Cc: 'Matt Behrens' , 'Alan Edmonds' , "'freebsd-questions@freebsd.org'" Subject: RE: *BSD init scripts Date: Tue, 15 Jun 1999 12:57:57 +0200 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1458.49) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > -----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