Re: ntpd use dhclient ntp-servers

2007-05-03 Thread Otto Moerbeek
On Thu, 3 May 2007, Tom Van Looy wrote: Hi, I wanted to let my ntp client use the servers it receives from the dhcp server (3.0 from packages). I made it working like this: I added ntp-servers to /etc/dhclient.conf, and the following function to the /sbin/dhclient-script script:

Re: ntpd use dhclient ntp-servers

2007-05-03 Thread Maurice Janssen
On Thursday, May 3, 2007 at 00:23:00 +0200, Tom Van Looy wrote: Hi, I wanted to let my ntp client use the servers it receives from the dhcp server (3.0 from packages). I made it working like this: I added ntp-servers to /etc/dhclient.conf, and the following function to the

Re: ntpd use dhclient ntp-servers

2007-05-03 Thread Tom Van Looy
Maurice Janssen wrote: On Thursday, May 3, 2007 at 00:23:00 +0200, Tom Van Looy wrote: Hi, I wanted to let my ntp client use the servers it receives from the dhcp server (3.0 from packages). I made it working like this: I added ntp-servers to /etc/dhclient.conf, and the following function to

ntpd use dhclient ntp-servers

2007-05-02 Thread Tom Van Looy
Hi, I wanted to let my ntp client use the servers it receives from the dhcp server (3.0 from packages). I made it working like this: I added ntp-servers to /etc/dhclient.conf, and the following function to the /sbin/dhclient-script script: add_new_ntp() { if [ -n $new_ntp_servers ]; then