diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-03-12 15:11:31 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-03-12 15:11:31 +0100 |
commit | 7b820de508eeac0f7a38dc795dd224e7f283df52 (patch) | |
tree | d699a112f57dd83998006f8ea55628b53f24661f /scripts | |
parent | 7294e829c825e0f7b56b4fdb83dbc2939c33ca71 (diff) | |
download | connman-7b820de508eeac0f7a38dc795dd224e7f283df52.tar.gz connman-7b820de508eeac0f7a38dc795dd224e7f283df52.tar.bz2 connman-7b820de508eeac0f7a38dc795dd224e7f283df52.zip |
Add D-Bus configuration files for supplicant
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.am | 12 | ||||
-rw-r--r-- | scripts/fi.epitest.hostap.WPASupplicant.conf | 10 | ||||
-rw-r--r-- | scripts/fi.epitest.hostap.WPASupplicant.service.in | 4 |
3 files changed, 24 insertions, 2 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 1247398f..b860d5bd 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -3,7 +3,15 @@ initdir = $(sysconfdir)/init.d init_SCRIPTS = connman -DISTCLEANFILES = $(init_SCRIPTS) +dbusdir = $(sysconfdir)/dbus-1/system.d + +dbus_DATA = fi.epitest.hostap.WPASupplicant.conf + +servicedir = $(datadir)/dbus-1/system-services + +service_DATA = fi.epitest.hostap.WPASupplicant.service + +DISTCLEANFILES = $(init_SCRIPTS) $(service_DATA) scriptdir = $(libdir)/connman/scripts @@ -15,6 +23,6 @@ dhclient_script_LDADD = @DBUS_LIBS@ AM_CFLAGS = @DBUS_CFLAGS@ -EXTRA_DIST = $(script_DATA) +EXTRA_DIST = $(script_DATA) $(dbus_DATA) MAINTAINERCLEANFILES = Makefile.in diff --git a/scripts/fi.epitest.hostap.WPASupplicant.conf b/scripts/fi.epitest.hostap.WPASupplicant.conf new file mode 100644 index 00000000..fa7afca0 --- /dev/null +++ b/scripts/fi.epitest.hostap.WPASupplicant.conf @@ -0,0 +1,10 @@ +<!DOCTYPE busconfig PUBLIC + "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" + "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> +<busconfig> + <policy user="root"> + <allow own="fi.epitest.hostap.WPASupplicant"/> + <allow send_destination="fi.epitest.hostap.WPASupplicant"/> + <allow send_interface="fi.epitest.hostap.WPASupplicant"/> + </policy> +</busconfig> diff --git a/scripts/fi.epitest.hostap.WPASupplicant.service.in b/scripts/fi.epitest.hostap.WPASupplicant.service.in new file mode 100644 index 00000000..cdd2a030 --- /dev/null +++ b/scripts/fi.epitest.hostap.WPASupplicant.service.in @@ -0,0 +1,4 @@ +[D-BUS Service] +Name=fi.epitest.hostap.WPASupplicant +Exec=@WPASUPPLICANT@ -u +User=root |