*BSD News Article 3933


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!usc!elroy.jpl.nasa.gov!ames!pacbell.com!charon.amdahl.com!amdahl!JUTS!griffin!gab10
From: gab10@griffincd.amdahl.com (Gary A Browning)
Newsgroups: comp.unix.bsd
Subject: Re: how to shutdown -todos?
Keywords: shutdown, booting
Message-ID: <aeYd02P=1eZk01@JUTS.ccc.amdahl.com>
Date: 20 Aug 92 03:50:32 GMT
References: <22231@venera.isi.edu>
Sender: netnews@ccc.amdahl.com
Organization: Amdahl Corporation, Sunnyvale CA
Lines: 26

In article <22231@venera.isi.edu>, allard@isi.edu (Dennis Allard) writes:
> I notice two shutdown programs.
> /usr/distbin/shutdown and /sbin/shutdown.
> 
> The distbin/ one understands -todos, the sbin/ one does not.
> 
> Why two shutdown programs?  What's the difference?  Why doesn't
> the sbin/ one understand -todos?

The net was discussing this quite a while ago - I do not think it was
ever quite understood.  IMHO, the -todos option should be included in 
/sbin/shutdown.  I thought the /usr/distbin programs were supposed to
be stripped down versions of the full function versions in the bin01 
distribution and were no longer necessary after installation.

> When I do /sbin/shutdown, it does a bunch of stuff and leaves me at
> the # prompt.  Then, if I execute it again, it does some more stuff
> and leaves me at login:.  Man shutdown does not really tell me enough
> to understand this behaviour.  What's going on?

Try "/sbin/shutdown -h now".  Its in that man page somewhere.

-- 
Gary Browning        | Exhilaration is that feeling you get just after a
		     | great idea hits you, and just before you realize
                     | what is wrong with it.