dotfiles/.scripts/checkmail.sh
2016-12-29 13:15:03 -08:00

12 lines
195 B
Bash
Executable file

#!/bin/sh
STATE=`nmcli networking connectivity`
if [ $STATE = 'full' ]
then
#/usr/local/bin/msmtp-runqueue.sh
$HOME/.scripts/imap.sh
exit 0
fi
echo "No internet connection."
exit 0