Re: fedora 9: left handed mouse after resuming from hibernate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tim:
>> Have you tried putting your script into one of the power management
>> script directories [1], so it gets run automatically?

Frank Murphy:
> If script was put there would it need any ext .sh etc..,
> am thinking /etc/pm/config.d
> As here it not a resume just losing the setup after using kvm.
> (no coder here)

On my Fedora 7 laptop, I have a script in /etc/pm/sleep.d/ for
re-applying some parameters to my hard drive after a wakeup.  You could
use it as a template, changing the (hdparm) command line to whatever
commands you were using to fix your problem.


#!/bin/bash

case "$1" in

        thaw|resume)
                /sbin/hdparm -B255 /dev/sda 
                ;;

        *)
                ;;

esac

exit $?


The file permissions are rwx-r-xr-x.  Though I suspect it only needs to
be executable by root, I haven't bothered testing.

-- 
(This computer runs FC7, my others run FC4, FC5 & FC6, all using Gnome
 in case that's important to the thread.)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux