Run Script before Suspend & after Wakeup

  • Hey Guys Merry X-Mas !
    I need some help for a configuration file. I installed vdr in my OMV but my DVB-Card needs to be unloaded before going to suspend.
    So i´ve created a script wich has to run before suspend and after wakeup. Unfortunately it doesn´t work.


    I´ve tested the single commands before a suspend and after the wakeup manually in the CLI, so the commands are correct.


    I think its something other wrong in my script or perhaps it´s in the wrong folder.


    This is my Script:


    I´ve puted in as

    Code
    /usr/lib/pm-utils/sleep.d/00vdr-and-modules


    Is this path correct and is the script ok?

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!