Date: Mon, 14 Oct 2002 11:30:52 +0100 From: <kmjones@blueyonder.co.uk> To: <adam@vectors.cx> Cc: <gnome@freebsd.org> Subject: Re: ports/44018: x11/gdm2: [PATCH] 'Shut down' doesn't shut down, just halts Message-ID: <2c6601c2736c$c59da3a0$7735bcc3@blueyonder.net>
index | next in thread | raw e-mail
Apologies for breaking the thread, but Adam's reply unaccountably disappeared into the aether and never reached my Blueyonder account. Adam Weinberger wrote: > k, then make it work the other way around. if defined(WITHOUT_GDM_APM). > it just seems to me that, well, there's a reason that 'halt -p' isn't > the system's default halt action. It's an option, I guess, though a better option would be to sort out whatever it is that's causing your machine to behave erratically on a 'halt -p'. 'halt -p' isn't the system's default halt action for historical reasons, IIRC - 'halt' existed in AT&T UNIX and predates such things as advanced power management on PCs. When APM did come along, though, Linux and FreeBSD took different approaches to it; in the Linux world, a new command /usr/bin/poweroff was created, while in the BSD world, the 'halt' and 'shutdown' commands were extended. Changing the default action would have been bad and rude. ;) Either way, _GDM's_ intended 'default' behaviour on 'Shut Down' is to power-off the machine, so while I recognise that this may be a Bad Thing for some people, it is however the Right Thing to do. People with quirky machines can edit their gdm.conf or edit the halt command in the configurator. > see, that's the problem. apm IS disabled on that machine. i'm happy to > assume that it's an anomaly on my machine then. assuming that is indeed > the case, i retract all the associated bitching and moaning ::) (Straying off-topic, followup to -questions or personal mail perhaps?) That's just odd. I assume 'device apm' doesn't appear in your kernel config, and there isn't a line 'apm_enable="YES"' in your /etc/rc.conf? Just thinking, I don't know what 'halt/shutdown -p' would do if one of them was enabled and the other wasn't. Keith To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the messagehome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2c6601c2736c$c59da3a0$7735bcc3>
