mirror of
https://github.com/halleysfifthinc/AVCLAN-Mockingboard.git
synced 2026-08-07 01:13:18 +00:00
Update devcontainer startup to consistently chown passed-thru usb devices
This commit is contained in:
@@ -1,7 +1,2 @@
|
||||
sudo apk add make cmake avrdude avr-libc gcc-avr
|
||||
if [[ -c /dev/ttyUSB0 ]]; then
|
||||
sudo chown root:$(id -gn $(whoami)) /dev/ttyUSB0
|
||||
fi
|
||||
if [[ -c /dev/ttyUSB1 ]]; then
|
||||
sudo chown root:$(id -gn $(whoami)) /dev/ttyUSB1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user