summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linaro.org>2021-05-06 18:13:14 -0500
committerAníbal Limón <anibal.limon@linaro.org>2021-05-06 18:14:22 -0500
commita181d8643964bfd473904b68ea79ab37008a4d6c (patch)
tree213cd9e79bdbe7e41bceefeb6ee810489de1aa72
parent22d61fd5830f1492503c357cc0af89c2fc076fd9 (diff)
fastboot-ssh.py: Change dut-ssh.conf to fastboot-ssh.conf
The dut-ctrl.py is deprecated to use cdba instead to get console and power on/off. Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
-rw-r--r--fastboot-ssh.conf (renamed from dut-ssh.conf)5
-rwxr-xr-xfastboot-ssh.py4
2 files changed, 2 insertions, 7 deletions
diff --git a/dut-ssh.conf b/fastboot-ssh.conf
index d3f3856..9b0e119 100644
--- a/dut-ssh.conf
+++ b/fastboot-ssh.conf
@@ -3,8 +3,3 @@ devices:
host: ip_or_hostname
fastboot_serial: serial_eight_chars
fastboot_set_active: a
- commands:
- - console:
- - power_on:
- - power_off:
- - hard_reset:
diff --git a/fastboot-ssh.py b/fastboot-ssh.py
index 00a5592..71a2a24 100755
--- a/fastboot-ssh.py
+++ b/fastboot-ssh.py
@@ -41,8 +41,8 @@ import signal
FASTBOOT_CMD = "/usr/bin/fastboot"
-CONFIGS = [os.path.join(os.getcwd(), 'dut-ssh.conf'),
- '/etc/dut-ssh.conf']
+CONFIGS = [os.path.join(os.getcwd(), 'fastboot-ssh.conf'),
+ '/etc/fastboot-ssh.conf']
if 'DUT_SSH_CONFIG' in os.environ:
CONFIGS.insert(0,os.environ['DUT_SSH_CONFIG'])
REMOTE_FASTBOOT_DIR='lava-fastboot'