Prevent failures to start external console when sudo prompts

This commit is contained in:
Jeremy Soller 2020-06-29 12:05:18 -06:00
parent f42b9d0955
commit ac9f402537
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1

View File

@ -14,7 +14,7 @@ console_internal:
sudo tool/target/release/system76_ectool console
console_external:
test -c "$(PROGRAMMER)"
sudo test -c "$(PROGRAMMER)"
sleep 1 && echo C | sudo tee "$(PROGRAMMER)" &
sudo tio -b 1000000 -m INLCRNL -t "$(PROGRAMMER)"