summaryrefslogtreecommitdiff
path: root/packages/networkmanager/files
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-08-24 18:36:38 +0000
committerKoen Kooi <koen@openembedded.org>2006-08-24 18:36:38 +0000
commitad4628305b3dbba5dd4f4b00af5d62083ac7507b (patch)
tree5e3acf98b63027bb8ca3e6cdfec797b1a6c4e3f4 /packages/networkmanager/files
parent9c95019a42e17cf987a5a20a74ccd8f3353dd58f (diff)
networkmanager: add modified nm by Milan Plzik
Diffstat (limited to 'packages/networkmanager/files')
-rw-r--r--packages/networkmanager/files/.mtn2git_empty0
-rw-r--r--packages/networkmanager/files/99_networkmanager1
-rwxr-xr-xpackages/networkmanager/files/NetworkManager28
-rw-r--r--packages/networkmanager/files/nm-applet.desktop9
4 files changed, 38 insertions, 0 deletions
diff --git a/packages/networkmanager/files/.mtn2git_empty b/packages/networkmanager/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/networkmanager/files/.mtn2git_empty
diff --git a/packages/networkmanager/files/99_networkmanager b/packages/networkmanager/files/99_networkmanager
new file mode 100644
index 0000000000..b3e7f94657
--- /dev/null
+++ b/packages/networkmanager/files/99_networkmanager
@@ -0,0 +1 @@
+d root root 0700 /var/run/NetworkManager
diff --git a/packages/networkmanager/files/NetworkManager b/packages/networkmanager/files/NetworkManager
new file mode 100755
index 0000000000..0beff63081
--- /dev/null
+++ b/packages/networkmanager/files/NetworkManager
@@ -0,0 +1,28 @@
+#!/bin/sh
+#
+# NetworkManager startup script
+
+. /etc/profile
+
+case $1 in
+ 'start')
+ echo -n "Starting NetworkManager daemon: NetworkManager"
+ /usr/sbin/NetworkManager
+ echo "."
+ ;;
+
+ 'stop')
+ echo -n "Stopping NetworkManager daemon: NetworkManager"
+ kill `ps |grep /usr/sbin/NetworkManager | grep -v grep | cut "-d " -f2`
+ echo "."
+ ;;
+
+ 'restart')
+ $0 stop
+ $0 start
+ ;;
+
+ *)
+ echo "Usage: $0 { start | stop | restart }"
+ ;;
+esac
diff --git a/packages/networkmanager/files/nm-applet.desktop b/packages/networkmanager/files/nm-applet.desktop
new file mode 100644
index 0000000000..3d99df5cfe
--- /dev/null
+++ b/packages/networkmanager/files/nm-applet.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Network Manager
+Comment=NetworkManager control applet
+Exec=nm-applet
+Type=PanelApp
+Icon=none
+Categories=Panel;Utility;
+