parent
5c1f28591f
commit
ddb19cc074
3 changed files with 8 additions and 9 deletions
@ -1,8 +0,0 @@ |
|||||||
#!/usr/bin/env expect |
|
||||||
spawn adb shell |
|
||||||
expect "#" |
|
||||||
send "cd data/openpilot\r" |
|
||||||
send "export TERM=xterm-256color\r" |
|
||||||
send "su comma\r" |
|
||||||
send "clear\r" |
|
||||||
interact |
|
@ -0,0 +1,7 @@ |
|||||||
|
#!/usr/bin/env bash |
||||||
|
set -e |
||||||
|
|
||||||
|
# this is a little nicer than "adb shell" since |
||||||
|
# "adb shell" doesn't do full terminal emulation |
||||||
|
adb forward tcp:2222 tcp:22 |
||||||
|
ssh comma@localhost -p 2222 |
Loading…
Reference in new issue