correction done

This commit is contained in:
qo-op 2021-03-04 23:48:09 +01:00
parent 695a3a9de3
commit d8f1a280f4
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ export YOU=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep'
#####################################################
### TEMP CODE (clean old datastructure) - TODO REMOVE after 30 mn & git pull
[[ -d ~/.zen/ipfs/xbian ]] && rm -Rf ~/.zen/ipfs/xbian/
# [[ -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)