Testing has shown that an environment var there isn't working well as call -> 
ifup -> hook isn't transferring env.
But checking for alternatives this got even better.

ifup makes all options in e/n/i or ifup -o available (prepended and uppercased) 
to called scripts.
That way one can not only disable per call, but also per device in e/n/i.

So the behavior will be like:                                                   
 
 1. default it is running on ifup (old default)                                 
  
 2. one can set a global disable in the config file                             
  
 3. one disable per device in the devices e/n/i stanza via disable_ntpdate=1    
   
 4. one can disable it per call via -o option setting -o disable_ntpdate=1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1206164

Title:
  /etc/network/if-up.d/ntpdate does not detach correctly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ntp/+bug/1206164/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to