SUMMARY:shutdown command

From: zhen zhang (
Date: Fri Feb 12 1999 - 08:35:40 CST

Many thanks to the following folks for sending replies:

Earl Cooke
Richard Smith
Matthew Stier
David Evans
Justin Stringfellow
Nesrin Ozus
Brad Peers

Some asked if the machine has all the patches.

Some reminded me if my /etc/rc2.d/S98y2k issued
shutdown command it could confuse the init because
it was in the middle of booting up. They suggested
that the shutdown get triggered a bit later. Actually
the test program did allow 3 minutes. I didn't mention
it my question because I didn't realize what it was
for until I read your email.

So I am still working on this.
But thanks a lot for your help.


---zhen zhang <> wrote:
> Hello, SMs:
> A question about shutdown command.
> I was trying to run a y2k test program on a Ultra10 (Solaris 2.5.1).
> The program puts a S98y2k at /etc/rc2.d. It basically
> resets the date then issues an at job to reboot the
> machine with "/usr/sbin/shutdown -i 6 -g 5 -y".
> (It writes to a counter file and reboots 32 times, each
> for one year)
> I did "sync; sync; reboot", when the machine came to
> S98y2k, it set the at job, even broadcasted the message
> "MACHINE IS BEING SHUT DOWN ...", but didn't really
> change run level.
> However, if I hand typed "/etc/rc2.d/S98y2k start", it
> worked for the first year, then got stuck for the next
> year as it hit the S98y2k from previous reboot.
> Any idea?
> Thanks a lot.
> Kevin
> _________________________________________________________
> Get your free address at

Get your free address at

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:15 CDT