Merge pull request #7 from plundstr/master

Get enviroment also from tmpfs
[usb-moded] Depend on qa/diagnostics

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
Fix up dbus config for better usability of usb-moded-util

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
Remove legacy dbus-x11 dependency

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
Support mass_storage mode without forcing it to be named mass_storage

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
Fix unchecked return value. CID#1090413

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
Make unreachable code, reachable. CID#1090412

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
Close file pointer to avoid resource leak. CID#1090411

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
Make systemd actions more clear, and do not mark apps active when stopping

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
Remove old buteo hack which is not necessary anymore

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
[usb-moded] Release 0.70

  * Close file pointer to avoid resource leak. CID#1090411
  * Make unreachable code, reachable. CID#1090412
  * Fix unchecked return value. CID#1090413
  * Support mass_storage mode without forcing it to be named mass_storage
  * Remove legacy dbus-x11 dependency
  * Fix up dbus config for better usability of usb-moded-util
  * Make systemd actions more clear, and do not mark apps active when stopping
  * Remove old buteo hack

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
[usb-moded] Detect rndis automagically in Windows Vista and later

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
[usb-moded] Minor release 0.70.1

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
Be sure that on charger disconnect the usb connection is not set

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
Make sure that we do not redo all the mode setting stuff (and a disconnect
in between) when a mode is set. Avoids disconnects when the devicelock status
changes.

[usb-moded] No disconnects between devicelock status changes

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
[systemd] make usb-moded to start a bit earlier in bootup.

Signed-off-by: Marko Saukko <marko.saukko@jollamobile.com>
Avoid crash when passing empty text/non valid data to write_to_file

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
Send connected signal in connection handler, not in connection setting (as this function will also be called when we set a mode through dbus.

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
Merge pull request #8 from saukko/master

[systemd] make usb-moded to start a bit earlier in bootup.
Update documentation for kernel command line ip.

The example leaves autoconfiguration set to on, this can cause
very long delays during boot.

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>