Explorar el Código

Stop mucking with hard-coded config data, you dork

Zachary Kotlarek hace 11 años
padre
commit
6bdc1f0db7
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      findAllTorrents.sh

+ 3 - 1
findAllTorrents.sh

@@ -1,7 +1,9 @@
 #!/bin/bash
 
 # Parameters
-TIMEOUT=360
+if [ -z "${TIMEOUT}" ]; then
+	TIMEOUT=600
+fi
 
 # Bail if the media share isn't available
 if ! ~/bin/video/isMediaMounted; then