readme: update for the one-process design
Change-Id: If5064210c59abd2f9236da2ee7f6994594dc5367
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
diff --git a/README.md b/README.md
index 69fb082..63a2481 100644
--- a/README.md
+++ b/README.md
@@ -16,23 +16,24 @@
};
```
-We can start the program
+We can add an LED via the helper program. The main service is then started via
+dbus-activation.
```
-./phosphor-ledcontroller --path /sys/class/leds/identify
+./add-led-action --path /sys/class/leds/identify
```
which will expose following dbus objects:
```
-busctl tree xyz.openbmc_project.LED.Controller.identify
+busctl tree xyz.openbmc_project.LED.Controller
`- /xyz
`- /xyz/openbmc_project
`- /xyz/openbmc_project/led
`- /xyz/openbmc_project/led/physical
`- /xyz/openbmc_project/led/physical/identify
-busctl introspect xyz.openbmc_project.LED.Controller.identify /xyz/openbmc_project/led/physical/identify
+busctl introspect xyz.openbmc_project.LED.Controller /xyz/openbmc_project/led/physical/identify
NAME TYPE SIGNATURE RESULT/VALUE FLAGS
...
xyz.openbmc_project.Led.Physical interface - - -
@@ -50,7 +51,7 @@
Query the LED State
```
-busctl get-property xyz.openbmc_project.LED.Controller.identify \
+busctl get-property xyz.openbmc_project.LED.Controller \
/xyz/openbmc_project/led/physical/identify \
xyz.openbmc_project.Led.Physical State \
s "xyz.openbmc_project.Led.Physical.Action.Off"
@@ -59,7 +60,7 @@
Set the LED State
```
-busctl set-property xyz.openbmc_project.LED.Controller.identify \
+busctl set-property xyz.openbmc_project.LED.Controller \
/xyz/openbmc_project/led/physical/identify \
xyz.openbmc_project.Led.Physical State s \
"xyz.openbmc_project.Led.Physical.Action.Off"