usb: change manner for starting/stopping services to dbus method 56/67956/1
authorTaeyoung Kim <ty317.kim@samsung.com>
Fri, 29 Apr 2016 10:23:44 +0000 (19:23 +0900)
committerTaeyoung Kim <ty317.kim@samsung.com>
Fri, 29 Apr 2016 10:23:44 +0000 (19:23 +0900)
commitd35abad6327a5d2e5d27075634af5d970da9e5f1
tree9bcc466adbbf0f2f70f10186ffca7ea6821eab42
parent4d983bacc93342c4ee49e764ac04ae2bd3f4ef6a
usb: change manner for starting/stopping services to dbus method

- Previously, services are started/stopped by forking systemctl command.
  However, the manner cannot guarantee the sequence of the services
  due to the scheduling issue.
- Now, the services are started/stopped by dbus method to systemd.
  The requests are stored in queue of systemd, and thus the sequence
  of services is guaranteed.

Change-Id: I36d0391fd426e271fe2d760d308efd9efd8b52ed
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
src/usb/usb-default.c
src/usb/usb-operation.conf