On 16 April 2010 22:35, Rick Stevens <ri...@nerd.com> wrote:
> Hmmm, I'd call that a work-around, not a solution.  The solution is for
> gpk (in fact, all GUI-based stuff) to query the NICs via something like
>
>        ip link show up | egrep "(eth.:|wlan.:)"
>
> and see if any network link is up.  Or scan /proc/net/dev (or one of
> the /proc/net files).

That doesn't get us the connection type (GPRS dialup, WLAN, wired
data) and the NM API is so much easier to use. That said, to ignore NM
completely just edit /etc/PackageKit/PackageKit.conf and change
UseNetworkManager=false

Richard.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Reply via email to