#!/bin/sh STATE=`nmcli networking connectivity` if [ $STATE = 'full' ] then muchsync rhea.unbl.ink exit 0 fi echo "No internet connection" exit 0