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]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux