kernel: bump 4.9 to 4.9.106
[openwrt/staging/wigyori.git] / include / shell.sh
index db41003..6ee0cf6 100644 (file)
@@ -13,22 +13,3 @@ isset() {
        eval "var=\"\${$1}\""
        [ -n "$var" ]
 }
-
-trapret() {(
-       local retvals="$1"; shift
-       local cmd="$1"; shift
-       for retval in $(echo $retvals); do
-               local trap_$retval=1
-       done
-       "$cmd" "$@" || {
-               local retval="$?"
-               eval "trapped=\${trap_$retval}"
-               [ -n "$trapped" ] || {
-                       return $retval
-               }
-       }
-)}
-
-md5s() {
-       which md5sum 2>&- >&- && md5sum "$@" | awk '{print $1}' || md5 "$@"
-}