Re: [CFR] reflect resolv.conf update to running application

From: Jeremie Le Hen (jeremie_at_le-hen.org)
Date: 08/22/05

  • Next message: Poul-Henning Kamp: "Re: [CFR] reflect resolv.conf update to running application"
    Date: Mon, 22 Aug 2005 18:02:31 +0200
    To: Hajimu UMEMOTO <ume@freebsd.org>
    
    

    Hi Hajimu-san,

    > If /usr/bin/cmp does not exist, The whole test will fail, then it will
    > work as heretofore. So, I think we don't need to test if /usr/bin/cmp
    > exists.
    > However, if /usr/bin/cmp does not exist, error message will out. So,
    > we need to supress it as following:
    >
    > if cmp -s /etc/resolv.conf.std /etc/resolv.conf; then
    > rm -f /etc/resolv.conf.std
    > return 0
    > fi 2>/dev/null

    It would be good to put a comment in front of this block to explain
    this, or it has good chances to generates some mails in the future.

    Thanks.
    Regards,

    -- 
    Jeremie Le Hen
    < jeremie at le-hen dot org >< ttz at chchile dot org >
    _______________________________________________
    freebsd-arch@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-arch
    To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
    

  • Next message: Poul-Henning Kamp: "Re: [CFR] reflect resolv.conf update to running application"

    Relevant Pages

    • Re: Bug in #! processing - "pear broken on current"
      ... Forget this, I read my mails further, I got an answer. ... Jeremie Le Hen ... < jeremie at le-hen dot org>< ttz at chchile dot org> ...
      (freebsd-arch)
    • Re: Poor Samba throughput on 6.0
      ... > cpu was mbufs were available and there were no IRQs shared. ... Jeremie Le Hen ... < jeremie at le-hen dot org>< ttz at chchile dot org> ...
      (freebsd-performance)
    • Re: incorrect ping(8) interval with powerd(8)
      ... network interface uses the bgedriver. ... Jeremie Le Hen ... < jeremie at le-hen dot org>< ttz at chchile dot org> ...
      (freebsd-current)
    • Re: More into /etc/rc.d/jail
      ... Integrating support for mounting file backed MD file systems ... > at boot would be quite logical even if mddevices are slow. ... Jeremie Le Hen ... < jeremie at le-hen dot org>< ttz at chchile dot org> ...
      (freebsd-current)
    • Re: Lasted NDIS wrapper for D-Link DWL-520+ on RELENG_6
      ... > to figure this stuff out on their own is the ability to read. ... but there is no NDISulator article currently unfortunately. ... Jeremie Le Hen ... < jeremie at le-hen dot org>< ttz at chchile dot org> ...
      (freebsd-current)