[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-pim
Subject: Re: [Kde-pim] Akonadi mail check bug
From: GEO <1g2e3o4 () gmail ! com>
Date: 2014-05-01 17:44:25
Message-ID: 2117060.OLSDKgG0rG () linuxpc
[Download RAW message or body]
On Wednesday 30 April 2014 19:25:55 Dmitry wrote:
> This bug still exists on KDE 4.13.0 and Akonadi 1.12.1
Yeah, it does. :-(
Ugly work around: use nmcli to check if internet is available (if you are
using networkmanager):
nmcli nm | grep -wo connected
if it return connected, internet should be available (given that a network you
connect to has internet access), if it returns nothing it isn't for sure.
So if you have akonadi in startup, the startup command should look like:
while [ "$(nmcli nm | grep -wo connected)" == "" ]; do
echo "Waiting for connection ...";
sleep 1;
done;
akonadictl start
This does not help for suspend though ... or when the connection is lost.
Could someone point to the area of code responsible for this, so I could play
around?
_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic