[CFR] reflect resolv.conf update to running application
Brooks Davis
brooks at one-eyed-alien.net
Mon Aug 22 15:13:05 GMT 2005
On Mon, Aug 22, 2005 at 11:39:57PM +0900, Hajimu UMEMOTO wrote:
> Hi,
>
> >>>>> On Mon, 22 Aug 2005 15:04:40 +0200
> >>>>> Dag-Erling Smørgrav <des at des.no> said:
>
> des> use 'cmp -s' instead of diff. It returns 0 when the files are
> des> identical, 1 when they differ and 2 when one of the files does not
> des> exist or is not readable, and never prints anything.
>
> Ah, yes. it was fixed locally. Thanks.
I'm fine with the cmp version of the change so long as you only perform
the test if /usr/bin/cmp exists. dhclient-script may be called before
/usr exists and must not misbehave under those circumstances.
--- Brooks
--
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20050822/1552dc43/attachment.bin
More information about the freebsd-arch
mailing list