Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wp-maximum-upload-file-size domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/news.numlock.ch/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the math-captcha domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/news.numlock.ch/public_html/wp-includes/functions.php on line 6114
Safe shutdown using an ATX power button – A changelog by Daniel Mettler

Safe shutdown using an ATX power button

For Gentoo Linux, do the following (adjust where necessary):

0. Make sure you have an ATX board and a power button ;)

1. Make sure your kernel has support for ACPI (either built-in or as modules)

2. # emerge acpi acpid

3. # rc-update add acpid default

4. for kernel 2.6 (skip this step if ACPI support is compiled into the kernel):
# echo “ac” >>/etc/modules.autoload.d/kernel-2.6
# echo “button” >>/etc/modules.autoload.d/kernel-2.6

5. add parameters apm=off and acpi=on to your kernel boot line (e.g. in /boot/grub/menu.lst)

6. # reboot

(Source: Linux für alle. Thanks to maol for the pointer; other interesting articles: Server shutdown via Apache [Caution!], LaTeX Business cards)

CategoriesITTags

Leave a Reply

Your email address will not be published. Required fields are marked *

7 × = 7

This site uses Akismet to reduce spam. Learn how your comment data is processed.