gpk-update-viewer vs. yum

Richard Hughes hughsient at gmail.com
Wed Apr 21 13:04:50 UTC 2010


On 16 April 2010 22:35, Rick Stevens <ricks at 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.


More information about the users mailing list