if termux-wifi-connectioninfo | grep -q '"network_id": -1,'; then echo "[-] NAS Server is OFFLINE...waiting for Internet Source" pkill sshd else echo "[+] NAS Server is Online and Active :)" #start SSH server Daemon sshd sleep 5 echo "[+] ssh server initiated, ssh server is up at Local Network" bash /data/data/com.termux/files/home/.custmScrpt/initRVP.sh bash /data/data/com.termux/files/home/.custmScrpt/initMySpace.sh fi