Hi,

On 31 October 2013 01:14,  <[email protected]> wrote:
> --- /dev/null
> +++ b/meta/recipes-connectivity/connman/connman/connman.service
> @@ -0,0 +1,14 @@
> +[Unit]
> +Description=Connection service
> +After=syslog.target
> +Wants=connman-env.service
> +
> +[Service]
> +Type=dbus
> +BusName=net.connman
> +EnvironmentFile=-@LOCALSTATEDIR@/run/connmand.env
> +ExecStartPre=-@LIBDIR@/connman/wired-setup
> +ExecStart=@SBINDIR@/connmand -n $CONNMAND_OPTS
> +
> +[Install]
> +WantedBy=multi-user.target

I'm thinking it might be better in the long term to patch the service
file in case upstream makes important changes and we don't notice.

> +echo "CONNMAND_OPTS=$EXTRA_PARAM">/run/connmand.env

Let's not pollute /run too much, there's already a /run/connman on a
booted image.  Create that directory if it doesn't exist, and put the
env file in there.

Ross
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to