Am Mittwoch, 6. August 2008 07:07:55 schrieb Ricardo Garcia: > On Tue, Aug 5, 2008 at 11:45 PM, Ismael Luceno <[EMAIL PROTECTED]> wrote: > > It's a good question. If someone knows how to configure xfce4 to use > > ngc, it would be nice to document it on trac. AFAIK as I know, it's > > xfce4-session to call the shutdown command, it may or may not be > > configurable... > > It happened to me once with KDE. IT has to do with the ACPI functions > being disabled. > > Perhaps it has to do with initng as the version I installed didn't > load /etc/modprobe.preload, but only /etc/modules. And the ACPI > modules (including the BUTTON module which allows you to press the > power button on your PC) were in modprobe.preload. There's no reason for modprobe.preload. /etc/modprobe is enough to use. Second, i don't know any distribution, which use this. Please refer it, because this patch should only work on this distri.
I think, you use a distri, which i didn't know, i wrote this scripts. So there're many things, which couldn't work. By the way: reboot and halt are replaced by initng, it should work, too, but only on provided distribution. You can replace halt and reboot by a small script, like that: /sbin/halt: #!/bin/sh case $(basename "$0") in halt) exec ngc -0 ;; reboot) exec ngc -6 ;; *) echo "Oooops? halt or reboot? Use me only as halt or reboot." >&2 ;; esac Create a link for reboot: # ln -s halt /sbin/reboot All right? ;) Denis Knauf.
signature.asc
Description: This is a digitally signed message part.
-- _______________________________________________ Initng mailing list [email protected] http://jw.dyndns.org/mailman/listinfo/initng
