LAN autoPIN will be done depending "stargates"

This commit is contained in:
qo-op 2021-05-18 01:16:18 +02:00
parent bd4ff247fa
commit b048634510
1 changed files with 0 additions and 4 deletions

View File

@ -32,10 +32,6 @@ export YOU=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep'
export LAN=1 && echo "1" > /tmp/LAN
ping -q -w 1 -c 1 `ip r | grep default | cut -d ' ' -f 3` 2>&1>/dev/null && echo "GATEWAY OK" && export LAN=0 && echo "0" > /tmp/LAN
if [[ "$LAN" == "1" ]]; then
~/.zen/astrXbian/zen/tools/autoPINfriends.sh LAN &
exit 0
fi
########################################################################
### TEMP CODE (add missing packages to xbian) - TODO REMOVE after 30 mn for git pull & apply
# [[ $(which ffmpeg) == "" && "$USER" == "xbian" ]] && sudo apt-get update && sudo apt-get install git fail2ban inotify-tools curl net-tools libsodium* python3-dev python3-pip python3-setuptools python3-wheel mpack libssl-dev libffi-dev build-essential qrencode jq bc gawk ffmpeg sqlite dnsutils vlc mp3info x11-utils -y