8e3ac20145
This resolves build errors in systems like NixOS, where `/bin/bash` doesn't exist.
5 lines
105 B
Bash
Executable file
5 lines
105 B
Bash
Executable file
#!/usr/bin/env sh
|
|
|
|
num=$(find /dev -name 'ttyUSB*' | rev | cut -c 1)
|
|
echo "$num"
|
|
sudo minicom "port$num"
|