Parent: 1ee1fc8e387c074c474bfdae15707f1afa76e1b9
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2023-03-25 01:52:32
Tree: 689ad367a528b59d34e46834c92abce061ef5a06
shared/shell: Add support for -i/--init-script This adds support for -i/--init-script which can be used to provide a file with commands to be initialized, the commands are then run in sequence after completing: client/bluetoothctl -i client/power-on-off.bt Agent registered Changing power on succeeded [CHG] Controller A8:7E:EA:56:87:D5 Pairable: yes [CHG] Controller 98:8D:46:EE:6D:16 Pairable: yes [CHG] Controller 98:8D:46:EE:6D:16 PowerState: on-disabling AdvertisementMonitor path registered
Diffstat
| M | src/shared/shell.c | | | 159 | ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - |
1 files changed, 142 insertions(+), 17 deletions(-)