Adding mail syncing with home server
This commit is contained in:
11
systemd/.config/systemd/user/syncmail.sh
Executable file
11
systemd/.config/systemd/user/syncmail.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
STATE=`nmcli networking connectivity`
|
||||
|
||||
if [ $STATE = 'full' ]
|
||||
then
|
||||
muchsync rhea.unbl.ink
|
||||
exit 0
|
||||
fi
|
||||
echo "No internet connection"
|
||||
exit 0
|
||||
Reference in New Issue
Block a user