Re: ку

Date: 2010-02-24 10:42 pm (UTC)
а, ясно, ну это уже не gentoo way

$cat /etc/acpi/events/sleep_ram
event=ibm/hotkey HKEY 00000080 00001004
action=/etc/acpi/actions/sleep_ram.sh

$cat /etc/acpi/actions/sleep_ram.sh
#!/bin/bash

logger "ACPI: Time to sleep"
rmmod -f i2400m_usb; rmmod -f i2400m; echo -n mem > /sys/power/state

решил не использовать всякие пакеты со скриптами... вот только не подумал еще как назад его подгружать так же красиво
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

Profile

alexkuklin: (Default)
alexkuklin

January 2020

S M T W T F S
    1234
567891011
12131415161718
19202122232425
262728293031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 12th, 2025 06:59 pm
Powered by Dreamwidth Studios