diff --git a/etc/rc.d/ntpdate b/etc/rc.d/ntpdate index d268fa406fed..cb883852289b 100755 --- a/etc/rc.d/ntpdate +++ b/etc/rc.d/ntpdate @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: ntpdate,v 1.9 2002/07/19 03:22:09 bad Exp $ +# $NetBSD: ntpdate,v 1.10 2003/06/27 07:22:36 lukem Exp $ # # PROVIDE: ntpdate @@ -17,8 +17,11 @@ ntpdate_start() { if [ -z "$ntpdate_hosts" ]; then ntpdate_hosts=`awk ' - /^(server|peer)[ \t]*127.127/ {next} - /^(server|peer)/ {print $2} + /^#/ { next } + /^(server|peer)[ \t]*127.127/ { next } + /^(server|peer)/ { print $2 } + /^multicastclient$/ { print "224.0.1.1" } + /^multicastclient/ { print $2 } '