Valfre, Daniel wrote:
Hi all,
From an application, in runtime, is there a different way of finding out if it
is running on a Moblin or Moblin/based distro other than looking at
/etc/system-release or /proc/version?
Thanks in advance.
if pmap `pidof mutter` 2>/dev/null | grep -q moblin ; then
echo running moblin
else
echo not running moblin
fi
Translate into language of your choice.
cheers,
Kris
_______________________________________________
Moblin dev Mailing List
[email protected]
To manage or unsubscribe from this mailing list visit:
http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org
once logged in.
For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists