13 lines
449 B
Bash
Executable File
13 lines
449 B
Bash
Executable File
#!/bin/sh
|
|
|
|
dbus-send --type=method_call \
|
|
--dest=org.example.DemoService \
|
|
/org/example/demo \
|
|
org.example.DemoService.SomeMethod
|
|
|
|
dbus-send --type=method_call \
|
|
--dest=org.example.DemoService \
|
|
/org/example/demo \
|
|
org.example.DemoService.SomeMethodSender \
|
|
string:'hello world'
|