diff --git a/archivador.sh b/archivador.sh index d43bbbf..ed74940 100755 --- a/archivador.sh +++ b/archivador.sh @@ -1,7 +1,7 @@ #!/bin/sh -e -if ! type bash > /dev/null; then - echo "Te falta instalar aria2." +if ! type busybox > /dev/null; then + echo "Te falta instalar busybox." exit 1 fi if ! type aria2c > /dev/null; then diff --git a/aria2-feeder/feed-aria2.sh b/aria2-feeder/feed-aria2.sh index 69461cf..800fda0 100755 --- a/aria2-feeder/feed-aria2.sh +++ b/aria2-feeder/feed-aria2.sh @@ -1,4 +1,5 @@ -#!/bin/bash -e +#!/bin/busybox ash +set -e params=$(echo -n "[[\"$1\"],{\"header\":[\"accept-encoding: gzip, br\"]}]" | base64 -w0) id=$(echo "$RANDOM * $RANDOM" | bc)