Subject: Re: shutdown not works right sometimes?
To: Thor Lancelot Simon <tls@rek.tjls.com>
From: Iain Hibbert <plunky@rya-online.net>
List: port-i386
Date: 12/31/2002 21:17:58
On Tue, 31 Dec 2002, Thor Lancelot Simon wrote:

> On Tue, Dec 31, 2002 at 11:56:35AM +0000, Iain Hibbert wrote:
> > Hi, strange problem here..  I am running on an older laptop, the battery
> > is buggered so I just have it connected to the mains and shutdown when I'm
> > not using it. I am running 1.5.2 which is older too but I'm not about to
> > uprade just yet (unless I want to play with bluetooth)
> >
> > anyway, "shutdown -h now" works from within a shell in an xterm, but not
> > direct from the twm menu:
> >
> > "System Shutdown"	f.exec "exec /sbin/shutdown -D -h now >/dev/null"
>
> What, exactly, led you to believe that the -D flag to shutdown was
> meaningless?

eh? you lost me, thanks..

the -D flag was an experiment on my part to see if not forking would help,
but it doesnt..  same with the >/dev/null.  Neither seems to make a
difference either way.

iain