include/connman
src/connmand
+src/connman.service
scripts/connman
scripts/dhclient-script
AC_SUBST(HAL_LIBS)
AC_OUTPUT(Makefile include/Makefile src/Makefile doc/Makefile test/Makefile
- plugins/Makefile scripts/Makefile scripts/connman)
+ plugins/Makefile scripts/Makefile
+ scripts/connman src/connman.service)
dbus_DATA = connman.conf
+servicedir = $(datarootdir)/dbus-1/system-services
+
+service_DATA = connman.service
+
+DISTCLEANFILES = $(service_DATA)
+
sbin_PROGRAMS = connmand
connmand_SOURCES = main.c connman.h log.c manager.c agent.c plugin.c \
--- /dev/null
+[D-BUS Service]
+Name=org.freedesktop.connman
+Exec=@prefix@/sbin/connmand
+User=root