Files
dotfiles/systemd/.config/systemd/user/syncmail.sh
2019-08-23 10:50:04 -04:00

12 lines
150 B
Bash
Executable File

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