Re: suspend config

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

 



On Thu, 2009-04-16 at 17:45 +0200, François Patte wrote:
> I tried something like:
>
> #!/bin/bash
> case "$1" in
>
>          hibernate|suspend)
>                  service slmodem stop && rmmod snd_intel8x0m
>                  ;;
>
>
>          thaw|resume)
>                  modprobe snd_intel8x0m && service slmodem start
>                  ;;
>
>          *)
>                  ;;
>
> esac
>
> exit $?
>
> Result: none! Even no complain in the log file....

Try running the script manually, with parameters to control what it
does.  e.g.  Presuming the script was called "controlmodem" do:

./controlmodem suspend

And see if it does anything.  Likewise, try:

./controlmodem resume

Don't forget to make the script executable.  And how and where did you
create the script?  If you created it in the directory it lives in, or
copied it there, it should have the right SELinux permissions to run.
But if you created it elsewhere, and moved it, it won't.

-- 
[tim@localhost ~]$ uname -r
2.6.27.21-78.2.41.fc9.i686

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
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[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