Mailinglist Archive: opensuse (880 mails)

< Previous Next >
Re: [opensuse] Tell system to use pm-utils
Am 28.08.2013 21:19, schrieb Cristian Rodríguez:
El 28/08/13 10:43, Malte Gell escribió:
Am 28.08.2013 13:23, schrieb Carlos E. R.:

The correct place is "/etc/pm/sleep.d/".

Everything works now, errors identified.


Anyway.. just curious, what you are trying to do _exactly_ ?

I have a Sundtek DVB-C USB stick and after resuming the driver has to be
started again. The Sundtek driver package copies the resume script to


I moved it now to /etc/pm/sleep.d/

Ok, the script still does not work properly, but this is a Sundtek
driver issue now :-) The syntax is ok. If you want to know the content
of the script, I paste it below.


# Sundtek Media Framework

case "$1" in
echo `date +"%Y-%m-%d %H:%M:%S [$$]"`" Stopping driver
system is going into suspend/standby" >> /var/log/mediasrv.log
/opt/bin/mediaclient --shutdown
echo `date +"%Y-%m-%d %H:%M:%S [$$]"`" Restarting driver
after system resume" >> /var/log/mediasrv.log
#/opt/bin/mediaclient --shutdown
/opt/bin/mediaclient --start
*) exit $NA

< Previous Next >
Follow Ups