summaryrefslogtreecommitdiff
path: root/meta/packages/networkmanager
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-02-07 20:32:53 +0000
committerRichard Purdie <richard@openedhand.com>2008-02-07 20:32:53 +0000
commitfd700bb7d3b7d2642566fa37f59a8ca7766e5c62 (patch)
treea008f9d9839d7740a42240787feb6fb794a54a2e /meta/packages/networkmanager
parentf2d7bf458f4ce24724d287a8c740f390adc5e72d (diff)
downloadopenembedded-core-fd700bb7d3b7d2642566fa37f59a8ca7766e5c62.tar.gz
openembedded-core-fd700bb7d3b7d2642566fa37f59a8ca7766e5c62.tar.bz2
openembedded-core-fd700bb7d3b7d2642566fa37f59a8ca7766e5c62.zip
networkmanager-applet: Add startup script to Xsession.d directory
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3715 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/networkmanager')
-rw-r--r--meta/packages/networkmanager/files/70NetworkManagerApplet2
-rw-r--r--meta/packages/networkmanager/networkmanager-applet_svn.bb10
2 files changed, 10 insertions, 2 deletions
diff --git a/meta/packages/networkmanager/files/70NetworkManagerApplet b/meta/packages/networkmanager/files/70NetworkManagerApplet
new file mode 100644
index 0000000000..46095d6cab
--- /dev/null
+++ b/meta/packages/networkmanager/files/70NetworkManagerApplet
@@ -0,0 +1,2 @@
+#!/bin/sh
+/usr/bin/nm-applet &
diff --git a/meta/packages/networkmanager/networkmanager-applet_svn.bb b/meta/packages/networkmanager/networkmanager-applet_svn.bb
index c6c4be425f..2d31030a05 100644
--- a/meta/packages/networkmanager/networkmanager-applet_svn.bb
+++ b/meta/packages/networkmanager/networkmanager-applet_svn.bb
@@ -3,13 +3,14 @@ LICENSE = "GPL"
DEPENDS = "networkmanager dbus-glib libglade gconf gnome-keyring"
#TODO DEPENDS libnotify
RDEPENDS = "networkmanager"
-PR = "r1"
+PR = "r2"
inherit gnome gtk-icon-cache
SRC_URI = "svn://svn.gnome.org/svn/network-manager-applet/;module=trunk;proto=http \
file://applet-no-gnome.diff;patch=1;pnum=0 \
- file://applet-no-animation.patch;patch=1"
+ file://applet-no-animation.patch;patch=1 \
+ file://70NetworkManagerApplet"
PV = "0.0+svnr${SRCREV}"
@@ -19,3 +20,8 @@ FILES_${PN} += "${datadir}/nm-applet/ \
${datadir}/gnome-vpn-properties/ \
${datadir}/gnome/autostart/ \
"
+
+do_install_append () {
+ install -d ${D}${sysconfdir}/X11/Xsession.d/
+ install -m 755 ${WORKDIR}/70NetworkManagerApplet ${D}${sysconfdir}/X11/Xsession.d/
+} \ No newline at end of file