This file contains 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
/* | |
* Copyright 2017 Mario Guggenberger <mg@protyposis.net> | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
This file contains 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/sh | |
# TVUnblock.com IP updater | |
# Checks for changed WAN IP and registers it at the TVUnblock service. | |
# | |
# Run this script periodically with cron or hook it to a WAN IP changed event. | |
# To run this script every 10 minutes with cron: | |
# */10 * * * * /pathtoscript/tvunblock.sh | |
# | |
# TVUnblock asks for only one activation request per hour, and may otherwise | |
# sanction clients with a ban. One hour is a pretty long time window though, |