Results 1 to 2 of 2

Thread: run script after system wakes from sleep

  1. #1
    Join Date
    Apr 2013
    Location
    Modra, Slovakia
    Posts
    265

    Default run script after system wakes from sleep

    I want to run ddclient update client right after system wakes from sleep. I've set a cron job ddclient but no need to do cause when pc is "awake IP won't change. Or maybe wouldn't it be better to wirte script each time ethernet interface starts?
    13.2 KDE 64bit tumbleweed
    Lenovo G500s, Thinkpad R500

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: run script after system wakes from sleep

    On 2014-01-30 18:46, roberto68 wrote:
    >
    > I want to run ddclient update client right after system wakes from
    > sleep.


    On /etc/pm/sleep.d/

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •