diff --git a/cron_MINUTE.sh b/cron_MINUTE.sh index 6db19de..4e5322f 100755 --- a/cron_MINUTE.sh +++ b/cron_MINUTE.sh @@ -24,6 +24,9 @@ export YOU=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' [[ ! -f ~/.kodi/addons/plugin.video.vstream/resources/sites/astroport.py ]] && [[ -f ~/.zen/astroport.py ]] && cp -f ~/.zen/astroport.py ~/.kodi/addons/plugin.video.vstream/resources/sites/ ##################################################### +### TEMP CODE (clean old datastructure) - TODO REMOVE after 30 mn & git pull +[[ -d ~/.zen/ipfs/xbian ]] && rm -Rf ~/.zen/ipfs/xbian/ + ### NO IP GATEWAY : EXIT ping -q -w 1 -c 1 `ip r | grep default | cut -d ' ' -f 3` 2> /dev/null && echo "OK" > /dev/null || (echo "NO GATEWAY CONNEXION" && exit 1)