Skip to content
Snippets Groups Projects
Select Git revision
  • 76167579cd20049547b5c1fb890208f598525dc9
  • experimental
  • master
  • v2021.1.2-ffs
  • v2021.1.1-ffs
  • nrb/gluon-master-cpe510
  • v2021.1-ffs
  • v2020.2.3-ffs
  • nrbffs/fastd-remove-delay
  • v2020.2.2-ffs
  • v2020.2.1-ffs
  • v2020.2-ffs
  • v2020.2.x
  • v2020.1.3-ffs
  • v2020.1.1-ffs
  • v2020.1-ffs
  • v2019.1.2-ffs
  • v2019.1.1-ffs
  • nrb/test-radv-filter
  • v2019.1-ffs
  • nrbffs/netgear-ex6120
  • v2021.1.2-ffs0.2
  • v2021.1.2-ffs0.1
  • v2021.1.1-ffs0.4
  • v2021.1.1-ffs0.3
  • v2021.1.1-ffs0.2
  • v2021.1.1-ffs0.1
  • v2021.1-ffs0.1
  • v2020.2.3-ffs0.3
  • v2020.2.3-ffs0.2
  • v2020.2.3-ffs0.1
  • v2020.2.2-ffs0.1
  • v2020.2.1-ffs0.1
  • v2020.2-ffs0.1
  • v2020.2
  • v2020.2.x-ffs0.1
  • v2020.1.3-ffs0.1
  • v2020.1.1-ffs0.1
  • v2020.1-ffs0.1
  • v2019.1.2-ffs0.1
  • v2019.1.1-ffs0.1
41 results

patch.sh

Blame
  • Forked from firmware / FFS Gluon
    Source project has a limited visibility.
    sha256sum.sh 383 B
    #!/bin/sh
    
    check_command() {
    	which "$1" >/dev/null 2>&1
    }
    
    if check_command sha256sum; then
    	ret="$(sha256sum "$@")"
    elif check_command shasum; then
    	ret="$(shasum -a 256 "$@")"
    elif check_command cksum; then
    	ret="$(cksum -q -a sha256 "$@")"
    else
    	echo "$0: no suitable sha256sum implementation was found" >&2
    	exit 1
    fi
    
    [ "$?" -eq 0 ] || exit 1
    
    echo "$ret" | awk '{ print $1 }'