Kr1ss
il y a 7 ans
Parent
révision
c56b139614
Aucune clé connue n'a été trouvée dans la base pour cette signature
ID de la clé GPG: 23F078862ACFE50
1 fichiers modifiés avec
1 ajouts et
1 suppressions
-
bin/mailsync
|
|
|
@@ -2,7 +2,7 @@ |
|
|
|
# Sync mail and give notification if there is new mail. |
|
|
|
|
|
|
|
# Run only if user logged in (prevent cron errors) |
|
|
|
w | grep "^$USER\W" >/dev/null || exit |
|
|
|
pgrep -cu "$USER" >/dev/null || exit |
|
|
|
|
|
|
|
# Checks for internet connection and set notification script. |
|
|
|
ping -q -c 1 1.1.1.1 > /dev/null || exit |
|
|
|
|