Results 1 to 2 of 2

Thread: How do I defer starting NTP until a wireless connection is established

  1. #1
    Join Date
    Jan 2018
    Location
    Annandale, VA
    Posts
    234

    Default How do I defer starting NTP until a wireless connection is established

    I have Tumbleweed on a laptop. I want to use NTP to avoid clock drift, but I don't want to waste cycles polling when there is no connection. If I always connected at the same time then I could use chron, but my wifi access is intermittent. Is there any way that I can get NetworkManager to automatically start NTP once it activates a connection? Thanks.

  2. #2
    Join Date
    Sep 2012
    Posts
    7,106

    Default Re: How do I defer starting NTP until a wireless connection is established

    Quote Originally Posted by shmuelmetz View Post
    Is there any way that I can get NetworkManager to automatically start NTP once it activates a connection?
    Of course. Search for "dispatcher scripts" in "man NetworkManager".

Posting Permissions

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