ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #07958
Re: Customized Upstart Jobs/Overrides
On Sat, May 3, 2014 at 8:47 AM, Oliver Grawert <ogra@xxxxxxxxxx> wrote:
> hi,
> Am Freitag, den 02.05.2014, 08:38 -0700 schrieb Alex Chiang:
>
> > - mtp-server
>
> this one is solely handled by the "persist.sys.usb.config" android
> property, no need to reinvent the wheel by adding upstart override files
> here, you just need to make sure that mtp is not set in this
> property ... (we currently force it on during develpment but this
> default is planned to be dropped before anything goes to market)
>
That would be a global disable though; keep in mind the mtp server should
also be user toggled ;-)
I'm also not very fond of override jobs for disabling, we can just check a
custom.init.jobname and figure it out from the actual job/unit.
References