Skip to content
  • Sevan Janiyan's avatar
    Use the md5 utility in scripts for checksums (#327) · 00ecef76
    Sevan Janiyan authored
    * md5sum is only present on systems with gnu coreutils.
    The BSDs & OS X include the md5 utility.
    Add the relevant tests to use md5sum when that's found and md5 otherwise.
    Test for the paths of md5 covers NetBSD, FreeBSD (& DragonFly by proxy), OpenBSD & OS X.
    
    * Check for the presence of the md5 utility and use that for comparison if present.
    For the benefit of the BSDs & OS X.
    
    * Though coreutils has the route & netstat command, their syntax is different
    to their *BSD counterparts.
    Add the necessary parts to populate $HS_WANIF & $HS_DHCPRELAYAGENT correctly.
    00ecef76