This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # The gateway to send the natpmp commands | |
| natpmp_ip="10.2.0.1" | |
| # Path to the lock file | |
| lock_file="/tmp/qbittorrent_update.lock" | |
| # How long to wait for an retry to open the ports | |
| retry_wait_time=5 |