How do I run a script on unsuspend?

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

 



Hi. I am running F9 on a Toshiba laptop. Due to some ideosyncracies
of my wireless drivers, I think I should remove the wireless drivers
on suspend (hibernate), and modprobe them again on unsuspend. I've been
searching for information on this, and I'm baffled on how F9 "knows" to 
suspend to disk when I close my laptop lid. I'm running acpid and it doesn't
appear to be there (only how to do a suspend when the power button is
pushed). I presume it's in pm-utils?

Anyway, specifically, my wireless gets messed up with a hibernate, so I'd like
to either a) do an 'ifup wlan0' on a resume from hibernation, or
b) rmmod rtl8187, etc. going into the hibernation, with modprobe rtl8187, etc.
and an ifup wlan0 on unsuspend. How would I do this?

Thanks!

Terry

-- 
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