[PATCH]: Add a D-BUS service activation configuration

Kel Modderman kel
Wed Dec 26 03:32:40 PST 2007


Please consider adding the following file, which is a D-BUS configuration
file that adds system activation support for wpa_supplicant. Here is the
upstream specification:

http://webcvs.freedesktop.org/dbus/dbus/doc/system-activation.txt?view=co

You have to install the service file into /usr/share/dbus-1/system-service
and the name of the file must correspond to the service bus name.

e.g: /usr/share/dbus-1/system-services/fi.epitest.hostap.WPASupplicant.service

Signed-off-by: Kel Modderman <kel at otaku42.de>
---
--- /dev/null
+++ b/wpa_supplicant/dbus-wpa_supplicant.service
@@ -0,0 +1,4 @@
+[D-BUS Service]
+Name=fi.epitest.hostap.WPASupplicant
+Exec=/sbin/wpa_supplicant -u
+User=root
---




More information about the Hostap mailing list