Hello,

I ran into this problem with eth1, my WLAN card. I found that
by moving the script from /etc/dhcp3/dhclient-enter-hooks.d to
/etc/dhcp3/dhclient-exit-hooks.d it is now executed at the
correct phase, after the interface has been given addresses.

It would also be nice, if there was a way to specify "persistent"
ntp servers, I.e. that there were some server/peer lines that
wouldn't be stripped when forming /etc/ntp.conf.dhcp.

For example:

      sed -r -e '/persistent/{;n;n;};/^ *(server|peer).*$/d' $NTP_CONF

Which would always leave lines following the string "persistent" alone:

 # the following server should stay in the conf file persistently:
  server my.globally.available.ntp.server
 # the following server should be stripped:
  server strippable.ntp.server

--
        Aleksi Suhonen

        () ascii ribbon campaign
        /\ support plain text e-mail



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to